diff --git a/ios/tooot/AppDelegate.mm b/ios/tooot/AppDelegate.mm index 85019cd2..b099d8b1 100644 --- a/ios/tooot/AppDelegate.mm +++ b/ios/tooot/AppDelegate.mm @@ -44,7 +44,7 @@ bridge.surfacePresenter = _bridgeAdapter.surfacePresenter; #endif - UIView *rootView = RCTAppSetupDefaultRootView(bridge, @"main", nil); + UIView *rootView = [self.reactDelegate createRootViewWithBridge:bridge moduleName:@"main" initialProperties:nil]; if (@available(iOS 13.0, *)) { rootView.backgroundColor = [UIColor colorNamed:@"SplashScreenBackgroundColor"];