What is platform string for iPhone 5S & 5C?
Asked Answered
R

1

13

I know that someone was able to dig out iphone6,1 platform string from IOS 7 code. However, I don't know what it maps to iPhone 5S or 5C.

If anyone has early access to iPhone 5S/5C, please post platform string for everyone.

For more info on platform string, see these links theiphonewiki, stackoverflow and stackoverflow

Rozek answered 17/9, 2013 at 15:44 Comment(3)
My bet goes on iphone6,1 being iPhone 5S and iPhone 5C having the same one as iPhone 5Drip
@mindw0rk 5C is a new piece of hardware, it'll at least get a minor bump (5,3). But I'd bet C gets 6,1 and S gets 6,2Multiplex
iPhone 5 has 2 variants: 5,1 & 5,2. Not sure if Apple is doing the same w/ 5S & 5C. If so, we'll have 4 variants !Rozek
R
25
  • iPhone6,1 = iPhone 5S GSM
  • iPhone6,2 = iPhone 5S Global
  • iPhone5,3 = iPhone 5C GSM
  • iPhone5,4 = iPhone 5C Global

Code:

if ([platform hasPrefix:@"iPhone5,3"])            return @"iPhone 5C (GSM)";
if ([platform hasPrefix:@"iPhone5,4"])            return @"iPhone 5C (Global)";
if ([platform hasPrefix:@"iPhone6,1"])            return @"iPhone 5S (GSM)";
if ([platform hasPrefix:@"iPhone6,2"])            return @"iPhone 5S (Global)";
Rozek answered 19/9, 2013 at 17:7 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.