当我将 a 显示UITabBarController为具有PageSheet大小的模态时,NavBar会在中间出现水平切割。
重现步骤:
- 创建一个新项目(
iPad); - 把一个
UITabBarController和另外两个ViewControllers放在Storyboard; - 将
UITabBarController's大小设置为Page Sheet; - 将
UITabBarController两者联系起来ViewControllers; - 在 main 中添加一个按钮
ViewController,然后添加一个动作以打开UITabBarController模态; - 在 ladscape 模式下启动应用程序,然后点击按钮打开
UITabBarController; - 旋转设备并触摸 中的项目
UITabBarController。
我已经向 Apple 提交了关于此问题的错误。
测试项目在这里: 项目示例
和截图:

*我还做了一个视频:youtube video