I’m trying to change the Status Bar colour mid-run, i.e. not when a controller is loaded. I change the view’s background colour, so I need to change it from the black to whi
As of Swift 3:
View controller-based status bar appearance NO
2.
White: UIApplication.shared.statusBarStyle = .lightContent
UIApplication.shared.statusBarStyle = .lightContent
Black: UIApplication.shared.statusBarStyle = .default
UIApplication.shared.statusBarStyle = .default