UIApplication.sharedApplication().setStatusBarStyle() deprecated in iOS 9

I think I have found a solution.
I ended up setting the

View controller-based status bar appearance boolean to NO

In my info.plist file.

Info.Plist

Then I went to my target’s General settings -> Deployment info and changed the dropdown option
Status Bar Style to Light instead of Default

Change Status Bar Style to Light

This changed the statusbar style to Light for my whole application, just what I wanted.

I Hope this helps!

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)