Opaque UITabBar layout breaks on rotation on iPhone X
Originator: | isidoro.navedo | ||
Number: | rdar://36924354 | Date Originated: | January 26 2018, 5:15 PM |
Status: | Resolved: | ||
Product: | UIKit | Product Version: | iOS 11.0+ |
Classification: | Bug | Reproducible: | Always |
### Summary Viewing fullscreen media in landscape with `isTranslucent = false` set on UITabBar results in broken layout on iPhone X. ### Steps to Reproduce Create an iPhone app with: - `isTranslucent = false` set on `UITabBar` - Hide the tab bar when pushing a child controller - From the child view controller, present fullscreen media - When presenting fullscreen media, allow landscape orientation - In all other cases, allow portrait orientation only Run the app: 1. Navigate from the root view controller to the child view controller 2. Open fullscreen media 3. Rotate to landscape orientation 4. Return to the root view controller ### Expected Results `UITabBar` should be 83pt in height and its buttons should be 48pt in height. ### Actual Results `UITabBar` is 49pt in height and its buttons are 14pt in height.
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!