【发布时间】:2026-01-10 12:40:01
【问题描述】:
我需要在屏幕底部动态创建一个 UIView ,它需要水平包含 4 个按钮(例如 button1 、 button2 、 button3 、 button4 )。问题是我无法为其设置约束,谁能建议我。
感谢您的提前。
【问题讨论】:
-
到目前为止您尝试过什么?请添加一些代码。这里有一个很好的关于设置约束的解释*.com/questions/31651022/…
标签: ios objective-c