How to change the color of iPhone status bar during the IOS developing With Xcode?
Asked
Active
Viewed 854 times
1 Answers
0
in info.plist of the project add View controller-based status bar appearance
and then set its value to YES
. after that place the following method in any of the views you want to change the status bar color.
-(UIStatusBarStyle)preferredStatusBarStyle{
return UIStatusBarStyleLightContent;
}
that should do the trick. just two simple steps. good luck.

Adrian P
- 6,479
- 4
- 38
- 55