Setting UIAppearance tintColor breaks boldness of UIBarButtonItems from Interface Builder (but not programatically)
Originator: | sfrost007 | ||
Number: | rdar://30944630 | Date Originated: | 9/3/2017 |
Status: | Open | Resolved: | |
Product: | iOS + SDK | Product Version: | 10.2.1 |
Classification: | UIKit | Reproducible: | Always |
Summary: If a UIBarButtonItem is added in Interface Builder with the SystemItemStyle of "Done", the button is bold. If the same button is created in code, this is also bold. If the tintColor property is set on either UINavigationBar or UIWindow (or possibly others) via UIAppearance, the interface builder instantiated button loses its boldness, while the programatic version retains it. Expected Results: Buttons are a consistent style whether created from code or Interface Builder. This IS the case prior to making a UIAppearance call, but afterwards a difference is introduced Actual Results: Programatic- and Interface Builder-instantiated buttons have differing styles after calling to UIAppearance (but not before). Version: 9.3.1 (13E238), 10.2.1 (14D27) Configuration: iPhone 6S, iPhone 6S Plus
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!