I have images titled like so in my app:
image~iPhone.png image@2x~iPhone.png
In interface builder I am loading image.png into my UIImageView
. I also programatically load some images into a different view using imageWithContentsOfFile. The images all load fine when I run in the simulator but I get no images when I run on the device. If I use the full name of the image in interface builder it works but I want iOS to distinguish between high res and lower res. I have tried a lot of different things but can't figure this out. I see this error in the debugger as well:
Could not load the "image.png" image referenced from a nib in the bundle with identifier "com.mycompany.myproject"
Xcode 4 Deployment Target 4.1 Base SDK 4.3
Thanks for any help.