You now should have a perfect seamless transition splash screen in your iOS app. The key should be Status Bar Style and the value UIStatusBarStyleLightContent Right-click in the displayed list and select Add row. If you selected a dark color as the background of the splash screen, it would be better to have a light font instead of the current dark one, let’s change that. Add just above return YES in the didFinishLaunchingWithOptions method.Add #import "RNSplashScreen.h" with the other imports.In Xcode, open the file > > AppDelegate.m To do that we will use react-native-splash-screen. We also want the splash screen to be displayed during the React Native boot. What happens is that the splash screen is displayed by the native code, then the javascript part of the app is booted up while a white screen is briefly shown.
0 Comments
Leave a Reply. |