`transform` property of `UITabBar` is reset after rotation

Number:rdar://34854417 Date Originated:06-Oct-2017 02:49 PM
Status:Closed Resolved:
Product:iOS + SDK Product Version:iOS 11.0
Classification:UI/Usability Reproducible:Always
I want to scale the `UITabBar` to 50%. Everything seems fine, but when I rotate the device `UITabBar` goes back to its original scale. It looks like iOS 11 is ignoring the `transform` property that was set on `UITabBar` before rotation. The problem does not apply to regular `UIView`. The problem does not occur on iOS 10.3.1.

See demo project in the attachment.

Steps to Reproduce:
1. Run the app on iOS 11 device.
2. Tap "Button" button.
3. Rotate the device.

Expected Results:
`UITabBar` keeps its previous scale. 

Actual Results:
`UITabBar` goes back to its original scale.

iOS 11.0



Apple Comment

Engineering has provided the following feedback regarding this issue:

The layout for the UITabBar of a UITabBarController is owned by UITabBarController. Externally changing geometry (including by subclassing UITabBarController) is not supported. Cases where doing so worked are purely coincidence.

Thank you for your feedback. Engineering has determined that this issue behaves as intended.

We are now closing this bug report.

By aleksander.grzyb at Oct. 11, 2017, 6:28 a.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!