I am relatively new to iOS development.
I am currently creating an application using the cocos2d library, which will be available for iPad Retina, iPad, iPhone 5 and iPhone 4s / 4.
I get all the settings for my images and I'm trying to understand the naming conventions.
Does anyone know of a guide that can help me?
Say I have background.png.
From what I understand:
- background.png → iPhone (no retina / backup)
- background-hd.png → iPhone 4s / 4 (retina)
- background-ipad.png → iPad (no retina)
- background-ipadhd.png → iPad (retina)
And will the same naming convention be used for all other files? For example:
- Button.png -> iPhone (no retina / standby)
- anyButton-hd.png → iPhone 4s / 4 (retina)
- anyButton-ipad.png → iPad (no retina)
- anyButton-ipadhd.png → iPad (retina)
What can I call iPhone 5 files?
I searched a bit and did not seem to find any tangible manuals there.
Thanks!
Corey
source share