Accessibility border on UINavigationBar's button are incorrects with saturated tintColor

Originator:pa.toth
Number:rdar://15689467 Date Originated:18-Dec-2013 05:20 PM
Status:Duplicate Resolved:20-Dec-2013 01:08 AM
Product:iOS SDK Product Version:7.1b2
Classification:UI Reproducible:Yes
 
Summary:
While testing the new accessibility option that show button's border, we found that if we apply a barTintColor to a navigation bar that has a black bar style, bar button items became white if the color's saturation is low.

This occurs with items that are added manually, not with the back button item of the navigation controller

Steps to Reproduce:
- Create a navigation controller
- Set its barStyle to UIBarStyleBlack
- Set its barTintColor to a color that have saturation (ex : [UIColor colorWithHue:0.795 saturation:0.260 brightness:0.588 alpha:1.000])
- Add a UIBarButtonItem as left or right bar button item with a white tintColor

Expected Results:
The bar button item text should be in white and the accessibility border color should be darker/lighter than the navigation bar color

Actual Results:
The bar button item text is white but the accessibility border is also white

Version:
7.1b2

Notes:


Configuration:
iPhone 5 and iPhone simulator

Comments

Duplicate of rdar://15452490 (Open) (not in OpenRadar)


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!