关于在具体VC更改导航栏和状态栏颜色

导航栏相关 感谢 http://blog.csdn.net/mad1989/article/details/41516743

self.navigationController.navigationBar.barTintColor = THEME_COLOR;

//左右按钮字体颜色
self.navigationController.navigationBar.tintColor = [UIColor whiteColor];


//title字体大小和颜色
[self.navigationController.navigationBar setTitleTextAttributes:@{
NSForegroundColorAttributeName:[UIColor whiteColor],
NSFontAttributeName:NAVIGATIONBAR_TITLE_FONT
}];
                                                                                                           
                                                                                                                    
#关于状态栏颜色
//在plist文件里添加  View controller-based status bar appearance == NO 默认是YES
[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleLightContent;

你可能感兴趣的:(关于在具体VC更改导航栏和状态栏颜色)