Flipkart Search

Search This Blog

Saturday, November 7, 2009

Change navigation bar color in iphone sdk

here is how ou change your navigation bar color.

navigationController.navigationBar.tintColor=[UIColor colorWithRed:42/256.0 green:60/256.0 blue:80/256.0 alpha:1.0];

just replace the (42,60,80) to your desired RGB Value.

5 comments:

Anonymous said...

Wich directory do you have to go to?

Coach Roebuck said...

Excellent! Thank you! This is exactly what I needed. You're the best!

Anonymous said...

Good tip

Anonymous said...

also:
[[navigationController navigationBar] setTintColor:[UIColor redColor]];

krva said...

Just have to recommend you one great online shop, Japan Best.