As we know iPad 3 have 2048×1536 resolution. for iPhone 4 with retina display we put big image with name @2X and one normal image in our bundle.
so for iPad 3 application development we also need to put two images one is normal size and other with big size with @2X name..?
Any one know please reply.
With the iPad 3, you also simply need to name your retina images [email protected]
. It needs to be exactly two times the resolution of the corresponding foo.png
. So, say foo.png
is 10x10, then your [email protected]
needs to be 20x20.
You can also make version specifically for iPhone/iPod or iPad and iOS will automatically chose the correct version. For this, you can use the ~iphone
and ~ipad
modifiers:
foo.png
for all devices with non-retina displayfoo~iphone.png
specifically for iPhone/iPod non-retinafoo~ipad.png
specifically for iPad non-retina[email protected]
for all devices with retina displayfoo@2x~iphone.png
specifically for iPhone/iPad retinafoo@2x~ipad.png
specifically for iPad retinaYou can mix them in any combination, as long as there's always a version for all your supported devices (if you're doing an iPad-only app there's no need to provide images for iPhone, of course). So it's OK to provide for example foo~iphone.png
, foo~ipad.png
and then [email protected]
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With