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;
}

 

 

posted on 2013-10-16 17:40  小浪鼓  阅读(1661)  评论(3编辑  收藏  举报

导航