views:

25

answers:

1

Hi.

I'm loading an UIImage UImageView. The UImageView has identical width and length, and when I load an UImage it gets streched.

Is there any way to load my UImage inside my UImageView without change in its proportions ?, I want the image to fit inside my UIImageView without deformation.

Thanks.

+1  A: 

Set your imageview's contentMode property to UIViewContentModeScaleAspectFit

Vladimir