I\'d like to show an image in an iPhone app, but the image I\'m using is too big. I\'d like to scale it to fit the iPhone screen, I can\'t find any class to handle it.
UIImageView* view = [[UIImageView alloc] initWithImage: [UIImage imageNamed: @"your_image.png"]]; view.frame = CGRectMake(0, 0, width, height);
To get the frame of the iPhone screen you can use
CGRect frame = [[UIScreen mainScreen] bounds];