我不确定其他人是否也有同样的问题,但在将Xcode更新到最新版本之后
我所有的ControllerViews都显示在类似“堆叠卡”的转换视图中(不确定它的名称)
swift - 更新最新的Xcode后,ControllerView转换已更改-LMLPHP
swift - 更新最新的Xcode后,ControllerView转换已更改-LMLPHP
这里的问题是,我如何返回并使它成为一个完整的视图,这个当前的视图称为

最佳答案

默认行为已更改。
将modalPresentationStyle设置为全屏。

viewControllerToPresent.modalPresentationStyle = .fullScreen

关于swift - 更新最新的Xcode后,ControllerView转换已更改,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/58556006/

10-13 07:27
查看更多