Just to study the UI of UINavigationBar
and UIStatusBar
, I changed the Navigation Bar Style to Black, and unchecked the Bar visibility, i.e. Shows Navigation Bar, but the UIStatusBar
style didn't change to lightContent
.
It seems that if we hide the navigation bar, the status bar style doesn't change depending on the navigation bar's style, it always takes the default - i.e. black - text and we have to change the status bar style explicitly.
Is there any method or variable we need to set to keep it dependent on the navigation bar style even if it's hidden?