标签: swift iphone xml xcode
我的问题:我必须编辑一个快速代码,但我遇到一个问题,即导航仅类似于新iphone设备中的幻灯片显示,但是当我使用旧iphone时我不会面对问题。
问题图片:
旧版iPhone:
新iPhone:
答案 0 :(得分:1)
您需要将要显示的ViewController的modalPresentationStyle更改为.fullScreen。
modalPresentationStyle
viewControllerToBePresented.modalPresentationStyle = .fullScreen