Empty line in a composition of UINavigationController + LargeTitle + UISearchController

Originator:diego
Number:rdar://35410538 Date Originated:November 8 2017
Status: Resolved:
Product:iOS Product Version:11
Classification:UI Reproducible:Always
 
An empty line appears in the UINavigationBar both on simulator and device when scrolling a UITableViewController inside a UITabBarController which is embedded by a UINavigationController set to "prefers Large Titles" in iOS 11.

In the Storyboard create an UITabBarController, attach two UITableViewController as it's view controllers. Embed the tabBarController inside a UINavigationController. Add an UISearchController on TabBarController's navigation item (this is the only line of code needed). I've setup a GitHub project demonstrating this issue: https://github.com/diegotrevisan/iOS11LargeTitleSearchBarBug.

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!