I'm working in my simulator on a single view app with a dark background. It's a UIViewController wrapped in a UINavigationController.
In my view controller I have override var preferredStatusBarStyle: UIStatusBarStyle { .lightContent }
In my info.plist I have View controller-based status bar appearance = YES
And yet when I run it it shows white for a second and then jumps to having black text.
What's going on here? Is there a fix?
Edit: I've tried .default
, .lightContent
and .darkContent
just to be sure, nothing works