I am trying to change the status bar style of one of my viewcontrollers. I have put this
- set the view based status bar to YES in the plist
2.
-(UIStatusBarStyle)preferredStatusBarStyle{ return UIStatusBarStyleLightContent; } - Added this also
[self setNeedsStatusBarAppearanceUpdate]
It works i.e I can see the font color white but just after some time it changes back to its previous type..