Default UIColor of iPhone Navigation Bar

nimrod picture nimrod · Apr 1, 2011 · Viewed 12.5k times · Source

Can anyone tell me the RGB for the default iPhone navigation bar blue? I know that you can normally set the default color by setting

self.navigationBarTintColor = nil;

However, that doesnt work in this case, so I need to set the exact blue.

Thanks for your answer, Doonot

Answer

klefevre picture klefevre · Apr 1, 2011

You right : setting tintColor property to nil is the good way to set the default blue color.

But in order to set a tintColor you have to do like that :

self.navigationController.navigationBar.tintColor = nil;