Originator:s.vijayvikram
Number:rdar://35288446 Date Originated:2017/11/1
Status:Open Resolved:
Product:iOS Product Version:11.x
Classification:Bug Reproducible:Always
 
Area:
UIKit

Summary:
Width of searchbar in UISearchController is always taking full width of screen when focus on searchbar in iOS 11 and above. The problem is not happening before iOS 11. 

Steps to Reproduce:
1. Open the TestSearchResult.xcodeproj in Xcode 9.x and run the app on iOS simulator/device having iOS 11.x .
2. Click on searchbar. 
3. Observe the width of searchbar before click and after click.



Expected Results:
Width of searchbar before and after focus should be same.

Actual Results:
Width of searchbar after focus takes whole width of screen.

Version/Build:
11.x

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!