Rubber banding of search bar with disabled large title feels wrong

Originator:emilio.pavia
Number:rdar://32708929 Date Originated:June 12 2017, 12:07 PM
Status:Resolved Resolved:11.0 (15A5304f)
Product:iOS + SDK Product Version:11.0 (15A5278f)
Classification:UI/Usability Reproducible:Always
 
Area:
UIKit

Summary:
I integrated search in the navigation bar by setting the searchController to the navigationItem. When the navigation bar uses large title the rubber banding works perfectly when scrolling down content. However, if you set largeTitleDisplayMode to .never, the behavior feels wrong, as the search bar gets split, leaving a hole in the middle.

You should reconsider the rubber banding behavior with normal title, for example by leaving the search bar attached to the navigation bar, or by expanding the entire navigation bar.

Steps to Reproduce:
- Open the attached project
- Run in an iPhone simulator
- Select the "Small" tab
- Scroll down the table view

Expected Results:
The search bar should remain attached to the navigation bar.

Observed Results:
The navigation bar gets split, showing the view underneath.

Version:
11.0 (15A5278f)

Notes:

Comments

Fixed in 11.0 (15A5304f)

By emilio.pavia at June 22, 2017, 10:48 a.m. (reply...)

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!