开发者

How get the news identifier for iPhone/iPad

开发者 https://www.devze.com 2023-03-26 13:11 出处:网络
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?

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

精彩评论

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