I have an app in which I set the UIStatusBarStyle
to UIStatusBarStyleLightContent
and it works perfectly fine for a while. Then, as suddenly than unexpectedly, it changes to UIStatusBarStyleDefault
for no apparent reason.
View controller-based status bar appearance
property is set to NO
.
Is there a specific place which I should set the UIStatusBarStyle
in? Currently I set it in - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
before anything else.
Thank you very much for any clues.