Right now, I have to do something like the below before pushing a view every time
_homeNavigationController.navigationBar.barStyle = UIBarStyleBlack;
_homeNavigationController.navigationBar.tintColor = nil;
And I want to set the color to different one using an patterned image.
So is there a simple way to do it?
You can use the appearance protocol if you are on iOS 5.
Documentation can be found here:
http://developer.apple.com/library/ios/#documentation/uikit/reference/UIAppearance_Protocol/Reference/Reference.html
http://developer.apple.com/library/ios/#documentation/UIKit/Reference/UINavigationBar_Class/Reference/UINavigationBar.html#//apple_ref/doc/uid/TP40006887