I\'ve an UIImageView with content mode Aspect Fit of size 220x155. I\'m dynamically inserting different images in different resolutions, but all larger than the size of the
Its very simple, you just need to get image actual size, which can be done by
UIImage *image = [UIImage imageName:@""];
then you just need to set frame Like :-
imageView.frame = CGRectMake(0.0, 0.0, image.size.width, image.size.height);
Hope this helps you.