Home > Q&A > body text
OC 如果设计稿偏小或者偏大,UIButton 里面的image 怎样放大缩小?
PHP中文网2017-04-18 09:43:06
I usually make some adjustments myself and then go through the design. The design feels almost good. Otherwise it’s called redesign
ringa_lee2017-04-18 09:43:06
Use the edge property of UIButton to resize
[self.btn setImageEdgeInsets:UIEdgeInsetsMake(6, 6, 6, 6)];