No API to make UISearchBar appearance match other bars' default on iOS 7

Originator:rjsdev
Number:rdar://15128939 Date Originated:2 Oct 2013
Status:Open Resolved:
Product:iOS 7 Product Version:7.0 (11A465)
Classification: Reproducible:Always
 
Summary:
On iOS 7, the default background for UISearchBar is darker than for other bars. None of the available API settings enable matching the background.

Steps to Reproduce:
1. Build and run this sample project in the iPhone Simulator from Xcode 5 https://github.com/rjsdev/SearchDisplayControllerBugDemo.git

Expected Results:
The search bar and toolbar in the window have similar background colours, or at least an API is provided to make them similar

Actual Results:
The search bar background is significantly darker than the toolbar's

Version:
iOS 7.0 (11A465)

Notes:
I've experimented with the barStyle and searchBarStyle properties to produce the same appearance, to no avail. Want a "light" style like the default for UIToolbar, so the "black" options are not a suitable workaround.

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!