gpt4 book ai didi

ios - 当方向为横向时, View 被剪切

转载 作者:搜寻专家 更新时间:2023-10-31 22:09:55 24 4
gpt4 key购买 nike

在 XCode8 中开发应用程序时,它曾经在纵向和横向模式下都运行良好。

没有任何特别的改变。

现在开始在 Xcode9 中开发,Portrait 工作正常,但应用程序中的任何 View,如果切换到 Landscape,它会表现得很奇怪。就像在图像中一样, View 被切断

enter image description here

enter image description here

我在 Storyboard 中使用自动布局...

发生这种情况是因为新的 safearea 功能吗?

编辑:为签名 View 添加的 View 层次结构

enter image description here

enter image description here

最佳答案

这可能是由于某些图层效果无意中应用于 UIViewControllerWrapperView。请检查您的 UIViewControllerWrapperView 图层属性或您的 UINavigationController 上的某些图层效果。

关于ios - 当方向为横向时, View 被剪切,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49390855/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com