Retina images issues @2x.png

You must Login before you can answer or comment on any questions.

I have designed my application background (320x480), placed it at /Resources/src/images/iphone/background.png and it works great at the simulator. I have also created my retina image (640x960), and placed it at /Resources/src/images/iphone/background@2x.png but unfortunately it shows as missing when I deploy into my iPhone 4S.

Anyway ideas?

2 Answers

Please try to place your image outside of your structor, may be in /Resources/assets/. What you mean with application backgrpund? Splash screen?

Hm.. I have figured out the answer. All iphone images need to be placed below the /Resources/iphone/ folder. You can create subfolders, let's say images but they have to be living below the above path. Now, when referencing them through your code, you will need to do so by calling ONLY images/background.png

Example:

Place your image background.png at 'Resources/iphone/images/backround.png' and use your imageView to get it from 'images/background.png'

Your Answer

Think you can help? Login to answer this question!