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.
you can alter imageView.frame=CGRectMake(position.x,position.y,size.x,size.y);