What's the device code (platform string) for iPhone 5 / 5c / 5s / iPod touch 5?

后端 未结 9 698
余生分开走
余生分开走 2021-01-31 10:18

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 sho

9条回答
  •  不知归路
    2021-01-31 10:50

    I created a library for detecting the device at runtime.

    It's called SDVersion.

    Thought some may found it useful.

提交回复
热议问题