在 FirstView 中按下按钮,SecondView 呈现在 UIModalPresentationPageSheet
secondVC.modalPresentationStyle=UIModalPresentationPageSheet;
SecondView 看起来很好(它的上限在状态栏旁边)#1。然后在SecondView中,通过按下一个按钮,ThirdView是这样呈现的:
thirdVC.modalPresentationStyle=UIModalPresentationFullScreen;
//I tried also commenting it, but the error occurs anyway.
在这个 ThirdView 中,在 xib 中添加了一个 UINavigationBar,它部分位于状态栏下方(第一个问题)#2。当从 ThirdView 用户转到 SecondView 时,它不再显示正常:这次它的上限部分位于状态栏 #3 下方。
我该如何解决?
(它是一个 iPad 应用程序)(在 SecondView 中也有一个 UINavigationBar 添加到 xib 中)
编辑:截图!#1 1
!#2 2
!#3 3