You can create a separate UIImage and create your UIImageView from your UIImage.
UIImage *myImage = [UIImage imageNamed:@"great_pic.png"]; UIImageView *myImageView = [[UIImageView alloc] initWithImage:myImage];
Then set the size of your UIImageView
[myImageView setFrame:CGRectMake(0, 0, 100, 200)]
Do whatever you want with your image, but don't forget to release it.
[anotherView addSubview:myImageView]; [myImageView release];
source share