1 | #import "RNSScreen.h"
|
2 |
|
3 | @interface RNSScreenWindowTraits : NSObject
|
4 |
|
5 | + (void)updateWindowTraits;
|
6 |
|
7 | #if !TARGET_OS_TV && !TARGET_OS_VISION
|
8 | + (void)assertViewControllerBasedStatusBarAppearenceSet;
|
9 | #endif
|
10 | + (void)updateStatusBarAppearance;
|
11 | + (void)enforceDesiredDeviceOrientation;
|
12 | + (void)updateHomeIndicatorAutoHidden;
|
13 |
|
14 | #if !TARGET_OS_TV
|
15 | + (UIStatusBarStyle)statusBarStyleForRNSStatusBarStyle:(RNSStatusBarStyle)statusBarStyle;
|
16 | + (UIInterfaceOrientation)defaultOrientationForOrientationMask:(UIInterfaceOrientationMask)orientationMask;
|
17 | + (UIInterfaceOrientation)interfaceOrientationFromDeviceOrientation:(UIDeviceOrientation)deviceOrientation;
|
18 | + (UIInterfaceOrientationMask)maskFromOrientation:(UIInterfaceOrientation)orientation;
|
19 | #endif
|
20 |
|
21 | + (BOOL)shouldAskScreensForTrait:(RNSWindowTrait)trait
|
22 | includingModals:(BOOL)includingModals
|
23 | inViewController:(UIViewController *)vc;
|
24 | + (BOOL)shouldAskScreensForScreenOrientationInViewController:(UIViewController *)vc;
|
25 |
|
26 | @end
|