What is platform string for iPhone 6 & 6 Plus?

后端 未结 6 1069
说谎
说谎 2020-12-23 21:15

What is the platform string for the iPhone 6 and 6 Plus?

FYI: platform string is important because it helps identifying HW model for programming purpose.

Bel

6条回答
  •  囚心锁ツ
    2020-12-23 21:42

    If you look inside the device profiles within /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/CoreSimulator/Profiles/DeviceTypes (Using Xcode 6) you will see:

    iPhone 6 Plus: iPhone7,1

    iPhone 6: iPhone7,2

提交回复
热议问题