差距在某种程度上取决于后退功能。如果我下拉导航栏,应用程序将返回上一个视图,但是我不希望该选项返回到一个视图。
我不知道在哪里搜索。
如果图片不起作用。这是链接:https://www.dropbox.com/s/3tse4oehn6o47bw/IMG_9159.PNG?dl=0
答案 0 :(得分:0)
尝试将UIViewController
的{{1}}属性设置为modalPresentationStyle
。
https://developer.apple.com/documentation/uikit/uiviewcontroller/1621355-modalpresentationstyle