Wonky Navigation Bar Resizing on Popping to Root

Originator:chris.hawkins
Number:rdar://49683986 Date Originated:8th of April 2019
Status:Open Resolved:
Product:iOS SDK Product Version:iOS 12.1 at least
Classification:UI / Usability Reproducible:Always
 
Summary:

Normally when navigating from a viewController that doesn't support largeTitles to one that does the navigation bar will animate its resizing. If this navigation is done by calling `popToRootViewController(animated:)` this animation will not occur and the bar will snap down.


Steps to Reproduce:

1. Check out the sample project attached.
(This project is simply three view controllers that get pushed onto the navigation stack then the final one can pop off)
2. Run it in a simulator
3. Hit "Push"
4. Hit "Push" again
5. Hit "Pop to Root"


Expected Results:

The navigation bar should animate to its new larger size


Actual Results:

The navigation bar snaps to its larger size


Version/Build:

iOS 12.1 + Xcode 10.1 at least


Configuration:

Appears to happen on all phones/iPads

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!