I have no problem setting the status bar of my app in the app delegate didFinishLaunchingWithOptions:
messsage.
However, the problem is, when my app is launched, the splash screen (default.png) is displayed with the standard colored status bar (some type of silver color). Then, once my app loads, it is changed to black translucent.
So... after doing a bit of research, I was told to add the following key/value to my info.plist file:
UIStatusBarStyle
as the key
UIStatusBarStyleBlackTranslucent
as the value
I've done that, rebuilt, etc. However, I don't see anything different. I still get the default status bar when the splash screen is displayed. Same result with simulator as well as device.
Any suggestions?
Yes, you can. The info.plist
is loaded "before" the app launches, thus you can add a Status bar style key to it and set the value to your desired style. Now you will have the status bar changed right from the 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