UISearchBar in dark navigation bar with tint color looks very wrong when compiled with iOS 11 SDK
Originator: | lextar | ||
Number: | rdar://33476943 | Date Originated: | July 23 2017, 3:10 PM |
Status: | Open | Resolved: | |
Product: | iOS+SDK | Product Version: | iOS 11 beta 3 |
Classification: | Bug | Reproducible: | Always |
Area: UIKit Summary: When setting up a navigation bar with UIBarStyleBlack and a barTintColor and then adding a UISearchBar to it as a navigation item, the search bar is drawn too dark and too large when compiled with the iOS 11 SDK. (see attached screenshots) When it is compiled with the iOS 10 SDK, everything looks as expected. Steps to Reproduce: Compile and run the attached sample project with Xcode 9 and the iOS 11 SDK Expected Results: The UISearchBar should look as it does when compiled with the iOS 10 SDK Observed Results: The UISearchBar background is way too dark and the search bar is too large and looks out of place. Version: iOS 11 beta 3 Notes: I've attached two screenshots: how the search bar looks on iOS 10 and how it looks when compiled with the iOS 11 SDK I've also attached the sample project Configuration:
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!