It looks like you want to resize an ImageView according to the image ratio and the container view's size, here is the example in Swift (Sorry,the former answer ...
DOWNLOAD: https://tinurli.com/2fam3b
DOWNLOAD: https://tinurli.com/2fam3b
swift-scale-image-view
939c2ea5af
Comments