Toolbar belonging to a UINavigationController nested in a UITabViewController shows large gap between the bars in iPhone X simulator
| Originator: | fcanas | ||
| Number: | rdar://34730263 | Date Originated: | 28-Sep-2017 10:12 PM |
| Status: | Open | Resolved: | |
| Product: | iOS + SDK | Product Version: | 11.1 (9B37) |
| Classification: | UI/Usability | Reproducible: | Always |
Summary: When a UITabBarController contains a UINavigationController set to show its bottom bar, the iPhone X simulator in versions 11 and 11.1 beta (9B37) shows a gap between the tab bar and the tool bar. The gap appears to be the height of the home area. The tab bar appears to be correctly adjusting its content up by that amount, but the navigation controller’s tool bar is unnecessarily adjusting up by that same amount. The gap is also visible in Interface Builder if you check “Shows Toolbar” instead of showing the toolbar via code. Steps to Reproduce: Create a UINavigationController and set isToolbarHidden to NO (or check “Shows Toolbar” in Interface Builder. Set it as one of the view controllers of a UITabBarController. Expected Results: The toolbar should sit immediately above the tab bar. Actual Results: On the iPhone X simulator, a large gap between the two bars. Version: 11.1 (9B37) Notes:
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!