Hi,
Apple recommend you load images no larger than 1024x1024 dimensions.
Since you can't look into image data once it is loaded into a UIImage,
what is the regular way to zoom in?
This code should stretch whatever size image to fit the screen of an iPhone 4/4S.
What if you wanted to zoom in so far that one pixel took up the whole screen?
Is it acceptable to draw off screen so far that only one pixel took the whole screen by making the rectangle huge?
Apple recommend you load images no larger than 1024x1024 dimensions.
Since you can't look into image data once it is loaded into a UIImage,
what is the regular way to zoom in?
Code:
CGRect imageRect = CGRectMake(0, 0, 320, 480);
[myImage drawInRect:imageRect];
This code should stretch whatever size image to fit the screen of an iPhone 4/4S.
What if you wanted to zoom in so far that one pixel took up the whole screen?
Is it acceptable to draw off screen so far that only one pixel took the whole screen by making the rectangle huge?