File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
packages/react-native/Libraries/AppDelegate Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -60,13 +60,16 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(
6060 [RCTComponentViewFactory currentComponentViewFactory ].thirdPartyFabricComponentsProvider = self;
6161 }
6262
63+ #if !TARGET_OS_VISION
6364 if (self.automaticallyLoadReactNativeWindow ) {
6465 [self loadReactNativeWindow: launchOptions];
6566 }
67+ #endif
6668
6769 return YES ;
6870}
6971
72+ #if !TARGET_OS_VISION
7073- (void )loadReactNativeWindow : (NSDictionary *)launchOptions
7174{
7275 UIView *rootView = [self .rootViewFactory viewWithModuleName: self .moduleName
@@ -79,6 +82,7 @@ - (void)loadReactNativeWindow:(NSDictionary *)launchOptions
7982 _window.rootViewController = rootViewController;
8083 [_window makeKeyAndVisible ];
8184}
85+ #endif
8286
8387- (void )applicationDidEnterBackground : (UIApplication *)application
8488{
You can’t perform that action at this time.
0 commit comments