I want to change the color of the navigation bar color, but I'm not sure whether or not I should change the tint or the background. I know iOS 7 is going for a more flat design (even recommending removing gradients), but I am having trouble deciphering the two. Even if I set a background color, it doesn't do anything.
In this image, the background is set to green, but the bar is still blue:
Insert the below code in didFinishLaunchingWithOptions() in AppDelegate.m
Here is how to set it correctly for both iOS 6 and 7.
I'm not sure about changing the tint vs the background color but this is how you change the tint color of the Navigation Bar:
Try this code..
[navigationController.navigationBar setTintColor:[UIColor redColor];
//Red as an example.// In ios 7 :-
// In ios 6 :-
In iOS7, if your navigation controller is contained in tab bar, splitview or some other container, then for globally changing navigationbar appearance use following method ::
I'm using following code (in C#) to change the color of the NavigationBar:
The trick is that you need to get rid of the default background image and then the color will appear.