IOS 7 更改导航栏文字到白色

To hide status bar in any viewcontroller:

-(BOOL) prefersStatusBarHidden
{
return YES;
}

To change the status bar text to white color.

set UIViewControllerBasedStatusBarAppearance to NO on .plist file first, then added this method:

-(UIStatusBarStyle)preferredStatusBarStyle{
return UIStatusBarStyleLightContent;
}
 
上一篇:python入门之文件处理


下一篇:更改导航栏的背景和文字Color