Do I need @2x graphics for iPad apps?

483 views Asked by At

I am making a universal app for the first time and I am wondering with the iPad if I need to include an @2x version of all my graphics like I do for iPhone apps or does the iPad not support that? i.e. if my background image is 1024 x 768 do I need a 2048 x 1536 @2x version?

Thanks

5

There are 5 answers

0
Felipe Sabino On
0
Fabian Kreiser On

No, the iPad 1 and iPad 2 offer a maximum screen resolution of 1024x768.

0
Jack Humphries On

No, the iPad 1 and iPad 2 have the same scene resolution of 1024 x 768. There is currently no "retina" iPad, so you do not need to worry about including "@2x" icons.

0
quellish On

No, you don't need them....

UNLESS you want to re-scale your (iPhone) graphics when an iPad user "zooms" the display. When the iPad user changes the application zoom level, you can receive this notification:

_UIClassicApplicationWillChangeZoomNotificationName

And use the appropriate graphics, or on your views, layers, etc. set the drawing scale

// scale just changed!
CGFloat scale = [[_window screen] scale];
[layer setRasterizationScale:scale];
[layer setShouldRasterize:YES];

It's entirely optional. Some views have custom graphics that look terrible when scaled up on an iPad, this can fix that for you.

0
pre On

Yes. Since the third iPad generation is available now, which supports @2x resolution, you should integrate @2x graphics.