Search Controller Scope Bar bug

Originator:an00na
Number:rdar://18597078 Date Originated:09-Oct-2014 11:46 AM
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 10 beta 1
Classification:UI/Usability Reproducible:Always
 
Summary:
If UISearchController.searchBar.showsScopeBar == YES, searchBar is messed up on the first activation but after that everything works well.

Steps to Reproduce:
1. Launch sample app.
2. Activate search bar.
3. Notice the messed-up search bar.
4. Dimiss search bar.
5. Activate search bar.
6. Notice the good search bar.

Expected Results:
Search bar layout is correct on initial activation.

Actual Results:
Search bar layout is messed up on initial activation.

Code: http://cl.ly/2j3d081y2F3o

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!