Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change the color of the buttons in a UINavigationController view and buttons (e.g. Back)?

It's possible to change color of UINavigationController view and buttons?

like image 530
Tunyk Pavel Avatar asked Mar 22 '11 20:03

Tunyk Pavel


People also ask

How do I change the navigation bar on my Iphone?

In the Safari app , you can choose the layout that works best for you. Depending on the layout, the search field appears at the top (Single Tab layout) or bottom (Tab Bar layout) of the screen. Go to Settings > Safari, then scroll down to Tabs. Select either Tab Bar or Single Tab.


1 Answers

You can change the color of the nav bar via:

UINavigationBar *bar = [self.navigationController navigationBar]; 
[bar setTintColor:[UIColor redColor]]; 

The buttons will then pick up that color as well.

like image 131
MarkPowell Avatar answered Sep 17 '22 14:09

MarkPowell