Question: Why Imageview always streched show image streched iOS?

Why Imageview always streched show image streched iOS?

I have use the imageview and it contains different images but some image show stretched then how to Show image without stretched.I use below code for the Image, I set the property aspect fit but due to that ImageView take size of images not the Imageview and display as different size.
I want to display image with one size and without stretched.

UIViewContentModeScaleAspectFill, will fill the entire area of image view, keeping the aspect ratio intact. In the process of filling entire image view, either vertical or horizontal length will be fully covered and the filling will continue till the time other dimension is fully filled. In the process, your content(either across vertical or horizontal) will be visible outside the frame. To clip this extra content we have set clipsToBounds property of image view to YES.

UIViewContentModeScaleAspectFit, will fill the image view's area till the time any one length either vertical or horizontal is fully filled keeping the aspect ratio intact. Its useful, if you are not required to show each image as same size as the other direction (if vertical is fully filled than horizontal or vice versa), is not fully covered. Since this will show blank spaces in the direction which is not fully covered.