6

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

TheLearner
  • 19,227
  • 35
  • 93
  • 162

1 Answers1

18
theImageView.layer.cornerRadius = 12;

might also need

theImageView.layer.masksToBounds = YES;
drawnonward
  • 52,944
  • 16
  • 104
  • 111