tintColor should be accessible from UIAppearance proxy
| Originator: | futuretap | ||
| Number: | rdar://17453402 | Date Originated: | 25-Jun-2014 07:01 PM |
| Status: | Open | Resolved: | |
| Product: | iOS SDK | Product Version: | 7.0 |
| Classification: | Enhancement | Reproducible: | Not Applicable |
UIAppearance.h states that since iOS 7 "tintColor (...) conflicts with the appearance proxy, and therefore tintColor is now disallowed with the appearance proxy". I consider this "conflict" an implementation detail and ask for a solution, esp. in light of the importance of tintColor for UI customization since iOS 7. There are numerous use cases where setting tintColor via UIAppearance is useful: I'd like to highlight our #1 use case of navigation bar customization. In many cases the navigation bar tintColor is different from the window tintColor, e.g for colored background and white content. Of course we can set the navigationBar.tintColor manually. However this fails for system view controllers such as SKStoreProductViewController, MFMailComposeViewController and MFMessageComposeViewController (especially when launched from a share sheet!) etc. All these cases would be immediately solved if UIView.tintColor supported UI_APPEARANCE_SELECTOR.
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!