ios - OC 如果设计稿偏小或者偏大,UIButton 里面的image 怎样放大缩小?
怪我咯
怪我咯 2017-04-18 09:41:06
0
3
720

OC 如果设计稿偏小或者偏大,UIButton 里面的image 怎样放大缩小?

怪我咯
怪我咯

走同样的路,发现不同的人生

reply all(3)
Ty80

I usually make some adjustments myself and then go through the design. The design feels almost good.
Otherwise it’s called redesign

左手右手慢动作

Use the edge property of UIButton to resize

洪涛

[self.btn setImageEdgeInsets:UIEdgeInsetsMake(6, 6, 6, 6)];

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template