Tab bar UI issue on transition animation when using hidesBottomBarWhenPushed parameter

Originator:FerryMDK
Number:rdar://37981354 Date Originated:02/28/2018
Status: Resolved:
Product:iOS + SDK Product Version:11.2
Classification: Reproducible:Always
 
Area:
UIKit

Summary:
When using the parameter hidesBottomBarWhenPushed on a UIController, the tabBar appears broken on iPhone X (size reduced to 49 pts / see screenshot).

Steps to Reproduce:
- Show a controller as a modal via the presentViewController:animated:completion: method
- Dismiss the controller
- Push a new controller via the pushViewController:animated: method
You will find a project attached showing this issue

Expected Results:
The tab bar should behave as it does when pushing a controller without presenting one before, ie disappearing behind the newly pushed controller.

Actual Results:
The tab bar stays on top of the pushed controller and appears broken during the animation. Once it is finished, the tab bar disappears.

Version/Build:
iOS 11.2 / iOS 11.3

Configuration:
iPhone X / iPhone X simulator
Xcode 9.2 / 9.3 Beta

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!