i have a UIImageView inside a UITableViewCell with UITableViewStyleGrouped. I placed the image at (0,0) location in the rounded table cell. When i run the application, i found the UIImageView still shows its left corners. The Imageview inside the cell is not clipped. Can anyone have a solution without setting the corner radius of the UIImageView.
i have a UIImageView inside a UITableViewCell with UITableViewStyleGrouped . I placed the image
Share
I think the way to do this is using layer mask and corner radius. Here is how:
assuming that
frameis the frame of your imageview. And, don’t forget#import <QuartzCore/QuartzCore.h>. Good luck!