Easy to change status bar text color in iOS 7
Change Status Bar text color in iOS 7
Step 1 :-
Change View controller-based status bar appearance Setting in info.plist file.
if you want to change text color add NO.
Step 2 :-
Add bellow code based on your event. like : you want on ViewDidLoad OR Any Event.
For white :
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
Add bellow code based on your event. like : you want on ViewDidLoad OR Any Event.
For white :
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
For Black :
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];
[[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];