排列3 UIButtons(等宽的)侧由端 [英] Arrange 3 UIButtons(of equal width) side-by-side

查看:131
本文介绍了排列3 UIButtons(等宽的)侧由端的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何安排3 UIButtons并排side.I正在使用自动布局。我的要求是:

How to arrange 3 UIButtons side-by-side.I am using Auto-layout. My requirement is:

1.they应该是平等的,无论宽度设备的

1.they should be equal width regardless of device

竖直从开始到结束的视图2.occupy

2.occupy vertically from starting to end of the view

在这里输入的形象描述

我尝试不同的方法,我没能做到这一点。是否有可能通过界面生成器

i tried different ways, i failed to achieve that. Is it possible through interface builder

推荐答案

选择所有的3个按钮,并添加平等宽度

Select all 3 buttons and add Equal Width

这篇关于排列3 UIButtons(等宽的)侧由端的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆