preferredStatusBarStyle
The preferred status bar style for the view controller.
Declaration
var preferredStatusBarStyle: UIStatusBarStyle { get }Return Value
A UIStatusBarStyle key indicating your preferred status bar style for the view controller.
Discussion
You can override the preferred status bar style for a view controller by implementing the childForStatusBarStyle method.
If the return value from this method changes, call the setNeedsStatusBarAppearanceUpdate() method.