3

Hi I am new with iPad Development, I am developing one app which is Compatible for iPad 5.1 Simulator and iPad 6.0 Simulator

I did something Like in 5.1 SDK

[self.navigationBar setTintColor:[UIColor colorWithRed:0.247f green:.301f blue:0.325f alpha:1.0f]];

same code is not working with iPad 6.0 Simulator,

Thanks in Advance!

Sandeep Khade
  • 2,832
  • 3
  • 21
  • 37

2 Answers2

1

For ios 6.0 you can make use of UIAppearance frame work and set the color. Use [[UINavigationBar appearance] setTintColor:color]; in your AppDelegate didFinishLaunchingWithOptions.

kaar3k
  • 994
  • 7
  • 15
0

try this code and replace 0 with your value

self.navigationController.navigationBar.tintColor = [UIColor colorWithRed:(0/255.0) green:(0/255.0) blue:(0/255.0) alpha:1];