Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set the status bar to "Light" on Xcode 8 (preferably not by code)

is there any other way to set the status bar to "Light" on Xcode 8 than by using preferredStatusBarStyle. It would be great to do it through the Plist file for example.

like image 623
pierre23 Avatar asked Dec 07 '22 21:12

pierre23


1 Answers

Finally figured it out, NO CODE NEEDED, you simply need to on your project settings set "Status Bar Style" to Light and go on your plist and add the row "View controller-based status bar appearance" with the value NO. That simple, no need to implement all your UIViewControllers...

like image 125
pierre23 Avatar answered Jan 17 '23 02:01

pierre23