IOS-设置NavigationBar的背景及字体颜色
在delegate中修改
//修改整体的navigationBar的背景颜色
[[UINavigationBar appearance] setBarTintColor:[UIColor colorWithRed:46/255.0 green:186/255.0 blue:157/255.0 alpha:1.0]];
//修改整体的navigationBar的字体颜色为白色
NSDictionary * dict=[NSDictionary dictionaryWithObject:[UIColor whiteColor] forKey:NSForegroundColorAttributeName];
[[UINavigationBar appearance] setTitleTextAttributes:dict];
[[UINavigationBar appearance] setTintColor:[UIColor redColor]];