UIImageView dimensions not what I set in IB
Posted
by Brenden
on Stack Overflow
See other posts from Stack Overflow
or by Brenden
Published on 2009-08-12T16:59:33Z
Indexed on
2010/05/24
10:01 UTC
Read the original article
Hit count: 316
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.
© Stack Overflow or respective owner