What's the device code (platform string) for i

2019-03-08 20:12发布

For example, is it "iPhone5,1" or "iPhone5,2" for iPhone 5? And what's the difference?

If anyone has the iPhone 5, please help by running the following code and showing your result. Thank you.

Related Link: https://stackoverflow.com/a/3950748/482899

9条回答
乱世女痞
2楼-- · 2019-03-08 20:38

I created a library for detecting the device at runtime.

It's called SDVersion.

Thought some may found it useful.

查看更多
女痞
3楼-- · 2019-03-08 20:39

The Verizon iPhone 5 returns "iPhone5,2". The GSM phone returns "iPhone5,1".

查看更多
SAY GOODBYE
4楼-- · 2019-03-08 20:45

check out your answer over here How to detect iPhone 5 (widescreen devices)?. till now i have not found any answer until some one developer buy iPhone 5 and post some useful information

查看更多
登录 后发表回答