Friday, July 23, 2010

Setting the color of a UINavigationBar programmatically

If you are using a UINavigationController for your views, you can easily change the UINavigationBar's color using the following:

self.navigationController.navigationBar.tintColor = [UIColor brownColor];

and choose whatever color you wish.

No comments:

Post a Comment