【发布时间】:2015-08-06 20:36:28
【问题描述】:
我正在尝试使用 AutoLayout 约束来自动重新定位按钮框架。
场景:有 5 个 UIButton,它们需要同样对齐。
- 预期和实现(通过谷歌驱动器中的图像显示):Images
-
我用过的:
First Button added the constraint top,left and buttom. For last button added constraint right,top and bottom. For rest button added top and bottom Constraint Then added horizontal spacing between Buttons Then added fixed width
我已分享项目供参考:Project
请让我知道水平间距的问题出在哪里。
谢谢
【问题讨论】:
标签: ios autolayout ios-autolayout