问题描述:

How do I determine which specific model of iPhone I have?

I know about [UIDevice currentDevice].model will tell me if it's an iPhone or an iPod Touch. Will this tell me if I have a 2G, a 3G, or a 3GS?

Thanks.

EDIT

This also becomes important to me when identifying between a first gen iPod Touch, and a second gen.

网友答案:

See How to tell if your code is running on an iPhone or an iPhone3G?.

相关阅读:
Top