loading resources dynamically for iphone 3GS and 4

2019-08-24 14:57发布

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.

2条回答
贪生不怕死
2楼-- · 2019-08-24 15:32

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.

查看更多
唯我独甜
3楼-- · 2019-08-24 15:45

The iPhone Application Programming Guide has a section on Supporting High-Resolution Screens that should answer your questions.

查看更多
登录 后发表回答