diff --git a/ios/TinyRobot/AppDelegate.m b/ios/TinyRobot/AppDelegate.m index 3f61065b6..535ac375c 100644 --- a/ios/TinyRobot/AppDelegate.m +++ b/ios/TinyRobot/AppDelegate.m @@ -88,6 +88,8 @@ -(void)loadBundle:(NSDictionary *)launchOptions initialProps:(NSDictionary *)pro self.window.rootViewController = rootViewController; self.window.backgroundColor = [UIColor whiteColor]; [self.window makeKeyAndVisible]; + + [RNSplashScreen showSplash:@"LaunchScreen" inRootView:rootView]; } - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { @@ -99,7 +101,6 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:( [[UITextField appearance] setTintColor:[UIColor lightGrayColor]]; [self loadBundle:launchOptions initialProps:env]; - [RNSplashScreen show]; return YES; }