6

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

TheLearner
  • 19,387
  • 35
  • 95
  • 163

1 Answers1

18
theImageView.layer.cornerRadius = 12;

might also need

theImageView.layer.masksToBounds = YES;
drawnonward
  • 53,459
  • 16
  • 107
  • 112