Navigation bar for UIDocumentPickerViewController does not display custom background color/image on iOS 11
| Originator: | plefebvre506 | ||
| Number: | rdar://34774630 | Date Originated: | 10/02/2017 |
| Status: | Duplicate 33902607 | Resolved: | No |
| Product: | UIKit | Product Version: | iOS 11.0 & 11.1 |
| Classification: | Bug | Reproducible: | Yes |
Summary: We use the UINavigationBar appearance proxy to set the appearance background and bar button text. In iOS 11, the bar button text appearance proxy is being applied, but the background appearance is not. This is causing our white text to display with a white background in the navigation bar for the document picker view controller modal. Steps to Reproduce: * Tested using iPhone 6 for iOS 10.3 and iPad Air 2 for iOS 11.0 & 11.1 1) Test on iOS 10 device and run attached project. 2) Tap "CLICK ME" button. Document Picker will display with navigation bar white bar button text color and red background. 3) Test on iOS 11 device and run same attached project. 4) Tap "CLICK ME" button. Document Picker will display with navigation bar white bar button color text but background will not display red color. Expected Results: Navigation bar will display on Document Picker modal with red background for iOS 11 and white text. Actual Results: Navigation bar only displays with default white background but text still displays white and is therefore invisible.
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!