Reputation: 330
I am developing an application which supports iOS 7 and later, using navigationbar with bartintcolor of "green color". However, I got a problem when setting "tintcolor" to white. It became gray color instead of white (as shown in the image below).
Thanks,
Upvotes: 1
Views: 422
Reputation: 71
I had the same problem and spent lots of time figuring it out.
Upvotes: 4
Reputation: 1358
please add code below to your appdelegate file
[[UINavigationBar appearance] setTitleTextAttributes:@{ UITextAttributeTextColor: [UIColor whiteColor],UITextAttributeFont: [UIFont fontWithName:@"FONT_NAME" size:15] }];
Upvotes: 0