//导航栏标题字体,颜色
UIFont *font = [UIFont systemFontOfSize:19.f];
NSDictionary *textAttributes = @{
NSFontAttributeName : font,
NSForegroundColorAttributeName : [UIColor whiteColor]
};
[[UINavigationBar appearance]
setTitleTextAttributes:textAttributes];
//返回按钮颜色
[[UINavigationBar appearance] setTintColor:
[UIColor whiteColor]];
//导航栏整体颜色
[[UINavigationBar appearance]
setBarTintColor:[UIColor colorWithHexString:@"0195ff" alpha:1.0f]];