I have an UIImageView with some fixed rect size. But my images are not fixed in size. I want to display images according to UIImageView\'s rect size. Whether image is big or
Worth noting that swift 3 has changed as following
.ScaleAspectFit to scaleAspectFit
ScaleAspectFit
scaleAspectFit
.ScaleAspectFill to .scaleAspectFill
ScaleAspectFill
scaleAspectFill