开发者

Rounding UITableView Image Corners

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜