Search code examples
iphoneobjective-ccocoa-touchuinavigationbaruicolor

How can I get a 'matte' color on a UINavigationBar?


How can I get a matte color on a UINavigationBar instead of the shiny look?

[self.navigationController.navigationBar setTintColor:[UIColor blackColor]];

Solution

  • There's no built-in way to do this. Using tintColor will always get you the default "shiny" look. The alternative is to draw the bar yourself, using the technique described here, to get the look you want.