UISearchBar: search field frame has no margin

Originator:futuretap
Number:rdar://17308420 Date Originated:13-Jun-2014 11:50 PM
Status:Closed Resolved:
Product:iOS SDK Product Version:8.0 beta (WWDC seed)
Classification:UI/Usability Reproducible:Always
 
Summary:
When adding a search bar to a navigation bar via addSubview:, the search bar has no margins around the search field.

This is a regression from iOS 7.

Steps to Reproduce:
Open and run the attached sample project under iOS 8.

Expected Results:
The search field should have a margin of 8 pt to the left and right.

Actual Results:
The search field has no margins to the left and right.

Version:
iOS 8 beta (WWDC seed)

Notes:
In iOS 7 the search field has correct horizontal margins.

Configuration:
Simulator, iPhone 5s

Attachments:
'SearchBarFrame.zip' was successfully uploaded.

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!