how to give constraints for UIbuttons

╄→尐↘猪︶ㄣ 提交于 2020-01-17 04:57:07

问题


how to give constraints for the buttons in the bottom as shown in image.


回答1:


select all 5 UIButtons and give equal widths constraints. give following constraints forr all buttons:

1.Height constraint.

2.Leading Constraint.

2.Bottom Constrain.

4.Equal Width Constraint

5.Trailing Constraint(if necessary)

check here :Arrange 3 UIButtons(of equal width) side-by-side



来源:https://stackoverflow.com/questions/36515549/how-to-give-constraints-for-uibuttons

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!