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.
Below is my guess:
- iPhone 6 (GSM): iPhone7,1
- iPhone 6 (Global): iPhone7,2
- iPhone 6 Plus (GSM): iPhone7,3
- iPhone 6 Plus (Global): iPhone7,4
Platform strings for the new iPhone 6, 6s, 6 Plus, and 6s Plus:
Also, here is the snippet with all platform strings since the beginning of time:
Update: My company now has a verizon iPhone 6 and 6 Plus, here's what I've found
Old answer below for posterity.
So I've done a little digging around in the IPSW files for iOS 8. There are 2 files for the 2 iPhone 6 models; iPhone7,1 and iPhone7,2. The iPhone7,2 IPSW file contains a file named kernelcache.release.n61 and N61 is known to be the internal name for iPhone 6. Similarly, the IPSW file for iPhone7,1 contains a kernelcache.release.n56 file, and N56 is iPhone 6 Plus. Also, the iPhone7,1 firmware contains @3x image assets, and the iPhone7,2 one contains @2x assets.
Therefore:
There don't appear to be any variants of the 2 devices.
This seems to be kept up to date with the most current models.
UIDeviceHardware
The URLs of these pages on Apple's website (for "RF Exposure") seem to confirm:
iPhone 6 Plus: 7,1
iPhone 6: 7,2
http://theiphonewiki.com/wiki/IPhone
iPhone 6 Plus: iPhone7,1
iPhone 6: iPhone7,2
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