taozhuo
4/12/2015 - 8:04 PM

UIImageView with rounded corners

UIImageView with rounded corners

#import <QuartzCore/QuartzCore.h>

    UIImageView *imageView = (UIImageView*)[cell viewWithTag:300];
    imageView.layer.cornerRadius = 6;
    imageView.clipsToBounds = YES;