How to know the image size after applying aspect fit for the image in an UIImageView

Nithin picture Nithin · Jun 8, 2011 · Viewed 40.1k times · Source

I am loading an image to an imageview with mode as 'Aspect Fit'. I need to know the size to which my image is being scaled to. Please help.

Answer

Paul de Lange picture Paul de Lange · Jan 2, 2013

Why not use the OS function AVMakeRectWithAspectRatioInsideRect?