Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/xcode/7.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Swift 更新最新Xcode后更改了ControllerView转换_Swift_Xcode - Fatal编程技术网

Swift 更新最新Xcode后更改了ControllerView转换

Swift 更新最新Xcode后更改了ControllerView转换,swift,xcode,Swift,Xcode,我不确定是否有其他人也有同样的问题,但在将Xcode更新到最新版本之后 我所有的ControllerView都显示在类似“堆叠卡片”的过渡视图中(不确定其名称) 这里的问题是如何恢复并使其成为完整视图,以及当前视图的名称是什么?默认行为已更改 将modalPresentationStyle设置为全屏 viewControllerToPresent.modalPresentationStyle = .fullScreen 默认行为已更改 将modalPresentationStyle设置为全

我不确定是否有其他人也有同样的问题,但在将Xcode更新到最新版本之后

我所有的ControllerView都显示在类似“堆叠卡片”的过渡视图中(不确定其名称)


这里的问题是如何恢复并使其成为完整视图,以及当前视图的名称是什么?默认行为已更改

将modalPresentationStyle设置为全屏

viewControllerToPresent.modalPresentationStyle = .fullScreen

默认行为已更改

将modalPresentationStyle设置为全屏

viewControllerToPresent.modalPresentationStyle = .fullScreen

非常感谢。我还发现它可以从故事板的“演示”选项更改为“谢谢!”!我还发现它可以从故事板的“演示”选项更改