问题
Since the display resolution is different, I wonder if there is an official guide or tutorial that shows how to load images. icons, nibs, etc. dynamically for iPhone 4 and iPhone 3GS.
Thanks in advance.
回答1:
The official guide is here. (You'll need a developer account)
Most of the time, you'll just need to make a high resolution image with a "@2x" suffix.
回答2:
The iPhone Application Programming Guide has a section on Supporting High-Resolution Screens that should answer your questions.
来源:https://stackoverflow.com/questions/3548794/loading-resources-dynamically-for-iphone-3gs-and-4