iOS 9: tintColor for UIAlertController overriden by application window's tintColor
Originator: | allan.ray.jasa | ||
Number: | rdar://22209332 | Date Originated: | 10-Aug-2015 |
Status: | Closed | Resolved: | 29-Jan-2016 |
Product: | iOS | Product Version: | iOS 9.0 (13A4325c) |
Classification: | Reproducible: | Always |
Summary: When an application window's tintColor is set to white, any UIAlertController launched bears the same tintColor even when the instance of the UIAlertContoller is set to something else, e.g. alertController.view.tintColor = [UIColor blackColor]; Steps to Reproduce: 1. Create a test app. 2. On - application:didFinishLaunchingWithOptions: set self.window.tintColor = [UIColor whiteColor]; 3. Create a viewContoller that launches a UIAlertController. Set its tintColor to something, e.g. alertController.view.tintColor = [UIColor blackColor]; Expected Results: Alert controller's tintColor is set to the assigned tintColor, e.g. black. Actual Results: Alert controller's tintColor is set to the application window's tintColor. Version: iOS 9.0 (13A4325c) Notes: Run the test app attached Configuration: iPhone 6
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!