Is there a way of rounding the corners of an image that I placing in an imageview?
Asked
Active
Viewed 2,554 times
1 Answers
18
theImageView.layer.cornerRadius = 12;
might also need
theImageView.layer.masksToBounds = YES;

drawnonward
- 53,459
- 16
- 107
- 112
-
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 Jul 06 '10 at 16:04
-
2Works great for me when I #import
– Josh Brown Feb 10 '11 at 14:00