As in the ToolbarController project example I'm setting status bar style and color with the following:
private func prepareStatusBar() {
statusBarStyle = .lightContent
statusBar.backgroundColor = Color.blue.darken3
}
The backgroundColor gets set correctly, but the status bar text remains black.
Is this a bug or is it possibly being overwritten somewhere else? Do you know whether storyboard properties could be causing this?
Cheers
Hey! I think you are missing a value in your info.plist file. You need to set the View controller-based status bar appearance to NO.
:)
Thank you!
Most helpful comment
Hey! I think you are missing a value in your
info.plistfile. You need to set theView controller-based status bar appearancetoNO.:)