根据屏幕的高度,我想调整视图中按钮的高度.在Swift中最简单的方法是什么?
我以这种方式尝试过,CGRectMake()但也没有改变:
CGRectMake()
self.myButton.frame.size.height = self.myButton.frame.size.height*scrOpt
如何"更新"框架?
height button ios swift
button ×1
height ×1
ios ×1
swift ×1