ThimraTV/MoviaBox/Class/Player/View/SPPlayBuyView.swift
2025-04-28 10:57:59 +08:00

44 lines
898 B
Swift

//
// SPPlayBuyView.swift
// MoviaBox
//
// Created by on 2025/4/28.
//
import UIKit
class SPPlayBuyView: HWPanModalContentView {
override init(frame: CGRect) {
super.init(frame: frame)
self.backgroundColor = .red
}
required init?(coder: NSCoder) {
fatalError("init(coder:) has not been implemented")
}
//MARK: HWPanModalPresentable
override func panScrollable() -> UIScrollView? {
return nil
}
override func longFormHeight() -> PanModalHeight {
return PanModalHeightMake(.content, kSPScreenHeight * (3 / 4))
}
override func showDragIndicator() -> Bool {
return false
}
override func backgroundConfig() -> HWBackgroundConfig {
let config = HWBackgroundConfig()
config.backgroundAlpha = 0.6
return config
}
}