how do you make the image size follow the size of the existing image review

Viewed 37

I have an UIimageview but when the picture is taken, the image does not follow the size of UIimageview like this enter image description here

I want it like this enter image description here

2 Answers

Try :

UIImageView.clipsToBounds = true
Related