Storyboard使用技巧:使用比例方式布局

2015-07-17
阅读 2 分钟
26.4k
下面介绍subview相对于superview的比例。完成从一个控制器里面添加一个Button,并使Button.width = Button.superview.width/4;