【发布时间】:2022-01-01 08:02:21
【问题描述】:
【问题讨论】:
标签: ios swift uiview autolayout storyboard
【问题讨论】:
标签: ios swift uiview autolayout storyboard
我记录我的屏幕以获得你想要的:
https://giphy.com/gifs/JbnR5F1ZFogb7gSojT/fullscreen(对于 gif 质量抱歉)
只需按住 control 并将鼠标从 UILabel 拖动到图形视图即可执行相同的操作。
Bottom 更改为 Top 值如果我误解了您想要的内容并且您想要以下内容:
只需通过选择代表它的蓝线来选择水平间距约束,然后使用以下内容调整约束的设置:
【讨论】: