objective-c – 如何将UIImage添加到分组的UITableViewCell,以便圆角?
我正在尝试将图像添加到分组的UITableView中的表格单元格中,但图像的边角不会被剪切.什么是最好的方式去剪裁这些(除了剪贴他们在Photoshop?表内容是动态的.) 例如,表中的第一个图像只需要左上角的四舍五入. 这是我的解决方案,可以使用一些重构: void addRoundedRectToPath(CGContextRef context, CGRect rect, float ova