The color of the navigation bar in iOS 4.3

I install tintColor in the navigation bar with this command:

 [self.navigationController.navigationBar setTintColor:[UIColor colorWithRed:0.35 green:0.09 blue:0.2 alpha:1.0]]; 

but in iOS 4.3 (simulator and phone) the navigation bar is transparent, but only the user image and the buttons associated with it are displayed. in iOS 5 , this shade is just fine.

Any thoughts on how to fix this for iOS 4.3? Tintcolor is installed in a subclass of BaseViewController

+4
source share
2 answers

I think this problem exists in older versions of iOS5.0. I am doing the same without any problems. I am using iOS Simulator version 5.0 (272) and Xcode 4.2 Build 4D199

+1
source
 its working in ios 6.0 self.navigationController.navigationBar.tintColor=[UIColor colorWithRed:(157/255.0) green:(33/255.0) blue:(33/255.0) alpha:1]; 
+1
source

All Articles