How do UIImageView autoresize according to UIImage's size
Posted
by www.ruu.cc
on Stack Overflow
See other posts from Stack Overflow
or by www.ruu.cc
Published on 2010-04-07T08:48:45Z
Indexed on
2010/04/07
8:53 UTC
Read the original article
Hit count: 562
cocoa-touch
How do UIImageView autoresize according to UIImage's size?
imageView.image = image2;
Now, the size of image2 is (Width = 123.0; height = 123.0); and the size of imageView is (Width = 18;height=18); My problem is, could imageView autoresize to (123.0,123.0) ? I have all type of the property UIViewContentMode, but imageView didn't change its size.
© Stack Overflow or respective owner