In iOS7, you can try the following:
[[UINavigationBar appearance] setBarTintColor:[UIColor redColor]];
You can do the following:
I created a new UINavigationController
, for example UIDemoNavController
, with the result:
- (void)viewDidLoad{ [[UINavigationBar appearance] setBarTintColor:[UIColor redColor]]; [super viewDidLoad]; }
This is the full demo class:
source share