Khoi Nguyen
Khoi Nguyen

Reputation: 147

The @2x image is not loaded on iPad retina

i've been writing an app for iPad. I used 2 images, menuBar.png and [email protected], on for normal and the other for retina. When i run on simulator, it's perfect. But when i built and run on iPad 3, it seems doesn't load the retina image. Can anyone give me a solution or show me where i go wrong?

Upvotes: 4

Views: 317

Answers (1)

user352891
user352891

Reputation: 1191

The image should be called:

  • iPhone non-retina: menuBar.png
  • iPhone retina: [email protected]
  • iPad non-retina: menuBar~ipad.png
  • iPad retina: menuBar@2x~ipad.png
  • if not named liked this, it will fall back to the iPhone non-retina image

    Upvotes: 7

    Related Questions