beeudoublez
beeudoublez

Reputation: 1242

disappearing navigationbar color in iOS 4.3

I'm setting the tintColor of a 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, only showing my custom image and related buttons. in iOS 5, this tint is just fine.

Any thoughts on how to fix this for iOS 4.3? The tintcolor is being set in a subclassed BaseViewController

Upvotes: 4

Views: 924

Answers (2)

user2155906
user2155906

Reputation: 149

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];

Upvotes: 1

san
san

Reputation: 3328

I think this problem is there in the older versions of iOS5.0. I am doing the same thing without any issue. I am using iOS Simulator Version 5.0 (272) and Xcode 4.2 Build 4D199

Upvotes: 1

Related Questions