Navigation bar + large titles + refresh control

Originator:fs.baro
Number:rdar://42862724 Date Originated:08-02-2018
Status:Open Resolved:No
Product:iOS Product Version:11.4
Classification: Reproducible:Yes
 
Area:
UIKit

Summary:
Navigation bar breaks when view controller (configured with large title and also tableView refresh control isRefreshing) is pushed to the navigation stack (using NavigationController).

Steps to Reproduce:
Create a new view controller (from now on, VC2), give it a title and set `navigationController?.navigationBar.prefersLargeTitles = true`.
Add a table view as its main view, add a refresh control to the table view and in viewDidLoad call `refreshControl.beginRefreshing()`.

Push VC2 into a current navigation (ie: create a NavigationController, set VC1 as root, VC1 can only have 1 button which action is to push VC2).

Expected Results:
VC2 shows the spinning activity indicator on top (as it does when pull to refresh).

Actual Results:
The activity indicator is not shown and the navigation bar layout (or viewController layout) is broken.

Version/Build:
iOS 11.4

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!