Answer the question
In order to leave comments, you need to log in
How to change NavigationBar color?
How can I change the color of the NavigationBar (the bar at the top of the NavigationController) ?
Answer the question
In order to leave comments, you need to log in
For the entire application (in the AppDelegate):
For a single controller:
[self.navigationController.navigationBar setBackgroundColor:[UIColor redColor]];
setTintColor:
the above does not change the color of the bar, but the color of its elements, for example, UIBarButtonItems located in it. If you need to change the color of the bar itself, use setBarTintColor:
.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question