If you cannot change a view controller's code

suggest change

If a library’s view controller shows the wrong status-bar content, you still cannot set navigationBar on a plain UIViewController. That property belongs to UINavigationController. barStyle changes the navigation bar, and a black bar style also asks for light status-bar text. It is not preferredStatusBarStyle. .blackTranslucent is deprecated.

let awesomeViewController = AwesomeViewController()
awesomeViewController.navigationController?.navigationBar.barStyle = .blackTranslucent // or another style

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents