views:

53

answers:

1

What resolution does in-app artwork need to be to make use of the high-resolution iPhone 4 display?

+4  A: 

Exactly double the normal resolution images. If you had someImage.png that was 44x320 before, then create [email protected] that is 88x640 for high resolution.

drawnonward
A little clarification: Make sure you provide the low-res file as well as the hi-res file. All you need to do is add the @2x-suffix to the filename, so iPhone 4 will find it automatically. If no hi-res image is found, the low-res image will be used, just like on an iPhone 3G.
Pumbaa80
Another addition.. so far it only works with certain image handlers like `UIImage imageNamed` ..I think Apple is working on the others
iWasRobbed
how do I name my file? [email protected]?
Sheehan Alam
Yes, `[UIImage imageNamed:]` looks for files with `@2x` just before the extension.
drawnonward
If I design my apps in IB, can I just select the @2X image and assume the iPhone OS will select the right one for lower models?
Sheehan Alam
Yes. IB files use `[UIImage imageNamed:]` at runtime.
drawnonward