views:

28

answers:

1

Is there a way of rounding the corners of an image that I placing in an imageview?

+3  A: 
theImageView.layer.cornerRadius = 12;

might also need

theImageView.layer.masksToBounds = YES;
drawnonward
This didn't seem to work. Still trying to find a solution!
TheLearner
This has worked for me. Can you add some more details or a code snippet about how you are using this? Is the image view larger than the image?
drawnonward