How to show Status Bar text color white when Splash screen is showing. I am using Default image for Splash screen for iPhone.
Step 1: After opening the android studio and creating a new project with an empty activity. Step 2: Navigate to res/values/colors. xml, and add a color that you want to change for the status bar.
to make the StatusBar transparent, use backgroundColor={'transparent'} and translucent={true} options in StatusBar component of RN(React Native) like above.
It has option to select light.
Use the above code in didFinishLaunchingWithOptions
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
//You can also use in View Controller.m file and add the following code
- (UIStatusBarStyle)preferredStatusBarStyle { return UIStatusBarStyleLightContent; }
Also if you don't want the status bar during app launch/Splash screen go to plist and set
Status bar is initially hidden=YES
It will hide the status bar during splash screen
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With