1. What is the best way to insert a background in a xcode ios app?
2. I have two backgrounds, one big that covers it all and one smaller with some details on the bottom. Do i have to make two different pictures for the smaller background so that it fits on all iphones?
-Simon
I think in general the best approach is to create two images that have the same content but are different in size.
You should create one image that is 320X480 for the iPhone 4 and below and one image that is 640X960 for the retina display on iPhone 4S and above. the format is:
ImageName.png (320X480)
ImageName@x2.png (640X960)
When you’re referring to an image in your code you should use ImageName.png as the source image and the device will automatically decide whether to use the regular image or the retina display image.
It will be very user friendly (to say the least) to use the same content in your background whether it’s an iPhone 4 and below or above.
As a side note: if you are using Cocos2d the HD image format changes to ImageName-hd.png