FWPopupMenuDeviceOrientationManager
@protocol FWPopupMenuDeviceOrientationManager <NSObject>
/**
根据屏幕旋转方向自动旋转 Default is YES
*/
@property (nonatomic, assign) BOOL autoRotateWhenDeviceOrientationChanged;
@property (nonatomic, copy, nullable) void (^deviceOrientDidChangeHandle) (UIInterfaceOrientation orientation);
+ (id <FWPopupMenuDeviceOrientationManager>)manager;
/**
开始监听
*/
- (void)startMonitorDeviceOrientation;
/**
结束监听
*/
- (void)endMonitorDeviceOrientation;
@end
Undocumented
-
根据屏幕旋转方向自动旋转 Default is YES
Declaration
Objective-C
@property (nonatomic) BOOL autoRotateWhenDeviceOrientationChanged;
-
Undocumented
Declaration
Objective-C
@property (nonatomic, copy, nullable) void (^deviceOrientDidChangeHandle
-
Undocumented
Declaration
Objective-C
+ (id <FWPopupMenuDeviceOrientationManager>)manager;
-
开始监听
Declaration
Objective-C
- (void)startMonitorDeviceOrientation;
-
结束监听
Declaration
Objective-C
- (void)endMonitorDeviceOrientation;