PopupMenuDeviceOrientationManager
@MainActor
open class PopupMenuDeviceOrientationManager : NSObject
屏幕转向管理器
-
根据屏幕旋转方向自动旋转 Default is YES
Declaration
Swift
@MainActor open var autoRotateWhenDeviceOrientationChanged: Bool
-
Undocumented
Declaration
Swift
@MainActor open var deviceOrientationDidChangeHandler: ((UIInterfaceOrientation) -> Void)?
-
开始监听
Declaration
Swift
@MainActor open func startMonitorDeviceOrientation()
-
停止监听
Declaration
Swift
@MainActor open func stopMonitorDeviceOrientation()