Tuesday, 22 March 2011

How to set navigation controller color

To set navigation controller color there’s a simple solution. Write below code in your view ‘View did load delegate’

Predefine color

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

RGB color

self.navigationController.navigationBar.tintColor = [UIColor colorWithRed:255/255 green:60/255 blue:0/255 alpha:100/255];

No comments:

Post a Comment