I\'m at a bit of a loss. I\'ve used the layer property of UIView to round the corners of multiple elements in my app. However, this one UIImageView is simply not complying.
Swift 4.2 Answer:
In order for the corner radius to work, add the image to a UIView and then you need to set the image's masksToBounds property to true:
UIView
masksToBounds
true
planeImage.layer.masksToBounds = true planeImage.layer.cornerRadius = 20
Note: Replace 20 by the desired cornerRadius
cornerRadius