开发者

How get the news identifier for iPhone/iPad

we found a bug in our program. To identifier the d开发者_JS百科evice model, we use this code. This work well, but the problem is: how know when exist new device?

I found one solution in this site. But, there are same official place that show it?


You need to just use the platform string (and don't translate that to the commercial device name). For example, use iPhone3,1 and not 'iPhone 4'. You can always keep a reference that people can use later, but in this way you are always protected with new device updates.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜