File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
packages/react-native/React/Base Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,9 @@ RCT_EXTERN UIWindow *__nullable RCTKeyWindow(void);
101101RCT_EXTERN UIViewController *__nullable RCTPresentedViewController (void );
102102
103103// Retrieve current window UIStatusBarManager
104+ #if !TARGET_OS_TV
104105RCT_EXTERN UIStatusBarManager *__nullable RCTUIStatusBarManager (void ) API_AVAILABLE(ios(13 ));
106+ #endif
105107
106108// Does this device support force touch (aka 3D Touch)?
107109RCT_EXTERN BOOL RCTForceTouchAvailable (void );
Original file line number Diff line number Diff line change @@ -635,10 +635,12 @@ BOOL RCTRunningInAppExtension(void)
635635 return nil ;
636636}
637637
638+ #if !TARGET_OS_TV
638639UIStatusBarManager *__nullable RCTUIStatusBarManager (void )
639640{
640641 return RCTKeyWindow ().windowScene .statusBarManager ;
641642}
643+ #endif
642644
643645UIViewController *__nullable RCTPresentedViewController (void )
644646{
You can’t perform that action at this time.
0 commit comments