Everything About UIStatusBar
Previously we mentioned a common pitfall with using a light style status bar.
This is more to understanding how to properly use
You already know the 2 settings in the project/target setting, or in Info.plist. There’s one more (see 3rd point).
UIStatusBarStyle– Default is dark text on white. Light is opposite.
UIViewControllerBasedStatusBarAppearance– Set to NO if you have a global status bar styling
UIStatusBarHidden– During launch, if you don’t want status bar to overlap your launch image, then set to YES.
application:didFinishLaunchingWithOptions:, you could need 2 more codes to make status bar work.
1 2 3 4 5