什么是iPhone 5S和5C的平台字符串?

我知道有人能够从IOS 7代码中挖出iphone6,1平台字符串。 但是,我不知道它映射到iPhone 5S或5C。

如果有人提前访问iPhone 5S / 5C,请为每个人发布平台字符串。

有关平台字符串的更多信息,请参阅这些链接theiphonewiki , stackoverflow和stackoverflow

  • iPhone6,1 = iPhone 5S GSM
  • iPhone6,2 = iPhone 5S Global
  • iPhone5,3 = iPhone 5C GSM
  • iPhone5,4 = iPhone 5C Global

码:

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)"; 
Interesting Posts