No UINavigationBar animation when calling -[UINavigationController setViewControllers:animated:]

Originator:Makarov.Yuriy
Number:rdar://34365812 Date Originated:11.09.2017
Status:Open Resolved:
Product:iOS SDK Product Version:11.0 (15A5361a)
Classification:Serious bug Reproducible:Always
 
Area:
UIKit

Summary:
UINavigationBar is no longer animated when calling -[UINavigationController setViewControllers:animated:]

Steps to Reproduce:
Call -[UINavigationController setViewControllers:animated:] with animation: YES
Or run the attached example.

Expected Results:
UINavigationBar animation should be the same as when -[UINavigationController pushViewController:animated:] is called.

Actual Results:
UINavigationItem is pushed without animation. 
The bug can be reproduced in apps built with an older base SDK as well, which makes it a serious issue, since the push animation will be broken in many places.

Version/Build:
11.0 (15A5361a)

Configuration:
Xcode 9 beta6

Comments

ios 12.3 - experience the same while setViewControllers for the first time after navigation controller was presented

By dmt.savitskiy at June 13, 2019, 6:05 p.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!