I am trying to change the color of the status bar to black translucent. I changed my Info.plist UIStatusBarStyle UIStatusBarStyleBlackTranslucent
And I added these lines of code also in applicationDidFinishLaunching :()
[[UIApplication sharedApplication] setStatusBarStyle: UIStatusBarStyleBlackTranslucent animated: NO];
After making these changes, my status bar will turn black translucent until my splash screen appears. Once my application loads completely, and when the content is displayed, it reverts to the default color by default. Can someone tell me where I'm wrong or where should I change?
Thanks in advance.
source
share