loading resources dynamically for iphone 3GS and 4

2019-08-24 15:38发布

问题:

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.