I have set the ViewController-Based Status Bar Appearance
to true
in info.plist
file.
in my ViewController, I set
override var preferredStatusBarStyle: UIStatusBarStyle {
return .lightContent;
}
But my status bar is still black. Any ideas?