TabBar behaves strangely when UINavigationController pushes view controller inside with "Hide Bottom Bar on Push" enabled (iOS 12.1 only)

Originator:alexeichhorn98
Number:rdar://45771182 Date Originated:02.11.2018
Status:DUPLICATE OF 45455232 Resolved:
Product:iOS Product Version:12.1
Classification:UIKit Reproducible:Always
 
Summary:
In iOS 12.1 the Tab Bar behaves strangely when a pushed view controller with "Hide Bottom Bar on Push" enabled gets popped (by user). During animation the Tab Bar is all over the place and afterwards the labels of the tabs are permanently compressed. This is only occurring in iOS 12.1. iOS 12 works fine. (12.0.1 not tested)

Steps to Reproduce:
- Create App with Tab Bar
- Add a UINavigationController to one of the tabs
- Push view controller in this UINavigationController with "Hide Bottom Bar on Push" enabled
- Pop view controller (by user)
(I've added a sample project which reproduces the issue (TabBar Bug Demo.zip))

Expected Results:
Tab Bar looks the same as before (also during animation)

Actual Results:
During animation the icons of the tabs are translated and the labels are hidden.
When animation did finished, everything is normal again except labels are permanently compressed.
(see attached screen recording)

Version/Build:
iOS 12.1 (16B92)

Configuration:
iPhone 6 64 GB

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!