preferredStatusBarStyle var not working in iOS12?
This has nothing to do with iOS 12. You just have the rules wrong. In a navigation controller situation, the color of the status bar is not determined by the view controller’s preferredStatusBarStyle. It is determined, amazingly, by the navigation bar’s barStyle. To get light status bar text, say (in your view controller): self.navigationController?.navigationBar.barStyle = … Read more