开发者

Rounding UITableView Image Corners

开发者 https://www.devze.com 2022-12-28 04:23 出处:网络
I need to add rounded corners to an image in a UITa开发者_运维技巧ble View cell to 3px. What\'s the best way to go about this? Apparently you can use the quartz framework?

I need to add rounded corners to an image in a UITa开发者_运维技巧ble View cell to 3px. What's the best way to go about this? Apparently you can use the quartz framework?

Thanks.


The easiest way to get rounded corners is Core Animation:

imageView.layer.cornerRadius = 3.0f;
0

精彩评论

暂无评论...
验证码 换一张
取 消