views:

250

answers:

1

I set a UIImageView to 70x70 pixels. In the actual view they look 70px high and 30 wide. This is when there is no source UIImage set and with a background color so I can see it's layout. However, when I do set a UIImage to it the layout does not change, remains portrait.

Is there something I am overlooking that affects the layout dimensions of a UIImage or UIImageView?

Thanks.

A: 

You can use the frame this may be fix your problem.

Arman