27 lines
972 B
C
27 lines
972 B
C
|
#import "RNSScreen.h"
|
||
|
|
||
|
@interface RNSScreenWindowTraits : NSObject
|
||
|
|
||
|
+ (void)updateWindowTraits;
|
||
|
|
||
|
#if !TARGET_OS_TV
|
||
|
+ (void)assertViewControllerBasedStatusBarAppearenceSet;
|
||
|
#endif
|
||
|
+ (void)updateStatusBarAppearance;
|
||
|
+ (void)enforceDesiredDeviceOrientation;
|
||
|
+ (void)updateHomeIndicatorAutoHidden;
|
||
|
|
||
|
#if !TARGET_OS_TV
|
||
|
+ (UIStatusBarStyle)statusBarStyleForRNSStatusBarStyle:(RNSStatusBarStyle)statusBarStyle;
|
||
|
+ (UIInterfaceOrientation)defaultOrientationForOrientationMask:(UIInterfaceOrientationMask)orientationMask;
|
||
|
+ (UIInterfaceOrientation)interfaceOrientationFromDeviceOrientation:(UIDeviceOrientation)deviceOrientation;
|
||
|
+ (UIInterfaceOrientationMask)maskFromOrientation:(UIInterfaceOrientation)orientation;
|
||
|
#endif
|
||
|
|
||
|
+ (BOOL)shouldAskScreensForTrait:(RNSWindowTrait)trait
|
||
|
includingModals:(BOOL)includingModals
|
||
|
inViewController:(UIViewController *)vc;
|
||
|
+ (BOOL)shouldAskScreensForScreenOrientationInViewController:(UIViewController *)vc;
|
||
|
|
||
|
@end
|