UITabBarItem text color is ignored in tvOS 9.1.

Originator:jradjavitch
Number:rdar://22801737 Date Originated:11-Dec-2015 01:30 PM
Status:Open Resolved:
Product:tvOS Product Version:9.1
Classification:tvOS Reproducible:Yes
 
We use the following code to set the text color of our UITabBarItems:

UITabBarItem.appearance().setTitleTextAttributes([
    NSForegroundColorAttributeName: <barTextColor>
], forState: UIControlState.Normal)

UITabBarItem.appearance().setTitleTextAttributes([
    NSForegroundColorAttributeName: <barTextColorSelected>,
], forState: UIControlState.Selected)

On tvOS9.0 the items are easily visible, but on tvOS9.1 they are not. Setting the background color to a light color shows the text in a dark gray/black color, so we know the text is being set properly.

Steps to Reproduce:
Set the UITabBarItem text color and run the app on tvOS 9.1

Expected Results:
UITabBarItem text would have desired color.

Actual Results:
UITabBarItem text color is ignored.

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!