UITabBar title attributes not respecting NSForegroundColorAttributeName for normal state

Originator:mail
Number:rdar://23922919 Date Originated:16-Dec-2015 07:43 PM
Status:Closed. Duplicate of 23860498 Resolved:
Product:tvOS SDK Product Version:tvOS 9.1
Classification: Reproducible:Always
 
Summary:
When setting NSForegroundColorAttributeName using the appearance API on UITabBarItem for the normal state, the default color is used.
This is also the case when setting the color using setTitleTextAttributes on instances of UITabBarItem.

The issue began in tvOS 9.1.

See the attached example for more info.

Steps to Reproduce:
1. Create a tab bar
2. Set the title color for the normal state using the appearance API.
3. Run the app and see that the default color is used. Not the one you just set.

Expected Results:
The configured title color should be used.

Actual Results:
The default title color is used.

Version:
tvOS 9.1

Notes:


Configuration:
Apple TV

Attachments:
'TabBarExample.zip' was successfully uploaded.

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!