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

aspect-ratioipadiphoneuiimageuiimageview

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.

Best Answer

Why not use the OS function AVMakeRectWithAspectRatioInsideRect?