Answer the question
In order to leave comments, you need to log in
How can I find out the size of the displayed image?
I need to get the size of the image after the aspect fit in order to do the following:
And roughly change the height of the uiimageview for each image like so:
Answer the question
In order to leave comments, you need to log in
let height = image.size.height * imageView.size.width / image.size.width
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question