Why doesn't tintColor set to whiteColor on iOS 9?

Greetings.

I have several UIBarButtonItems on a transparent navigation bar. The background of the view underneath the app is a dark blue.


On iOS 9 GM (and all the betas before that), although I set the navigation controller.view.tintColor to whiteColor it shows up as a dull gray. The same iOS 9 app works fine on iOS 8. Similarly if I run the iOS 8 version of my app (from the app store) on iOS 9, the tint of the buttons comes up gray as well.


Both iOS 9 and iOS 8 versions of my app show the tint color properly set to white on iOS 8. Also the tintColor is set properly on an iOS 9 simulator.


Is this a bug, or am I doing something wrong?

Answered by neal1 in 56942022

This has been fixed in iOS 9.1

Can you submit a bug report with an example application and report the bug number here? Thanks!

Bug Report # 22688789

Accepted Answer

This has been fixed in iOS 9.1

Same problem is happening to me as well, but only on the iPad Air with iOS 9.0.


The iPhone 6 / 6+ with iOS 9 display the correct white color.


Is there a work-around that we can use?

How are you setting your tint color? Typically you set it once for the whole application (by setting the window's tint color) in -applicationDidFinishLaunching: and your done. Using other methods may result in your tintColor only being set for a subset of your views, which may cause some of the symptoms you see (why it would be white instead of the default color is a bit of a mystery however).

Why doesn't tintColor set to whiteColor on iOS 9?
 
 
Q