gpt4 book ai didi

ios - iPhone X Swift 底部的空白

转载 作者:可可西里 更新时间:2023-11-01 01:09:28 26 4
gpt4 key购买 nike

我知道还有另一个具有相同问题的问题,但答案并没有解决我的问题。

enter image description here

我试过解决方案 here但是,我仍然得到了空白。

enter image description here

我的底部约束是 SuperView,而不是底部布局指南。我曾尝试通过代码扩展安全区域,但仍然没有任何效果。

我正在该 View 中使用另一个嵌入式 View Controller 。

更新

查看层次结构 enter image description here

最佳答案

删除任何 Storyboard ViewController 中的“安全区域”。然后像这样相应地设置约束。

enter image description here enter image description here

关于ios - iPhone X Swift 底部的空白,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/48558145/

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