本文介绍了什么是iPhone 5S&的平台字符串5C?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我知道有人能够从IOS 7代码中挖出iphone6,1平台字符串。但是,我不知道它映射到iPhone 5S或5C。
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.
如果有人提早访问iPhone 5S / 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
推荐答案
- iPhone6,1 = iPhone 5S GSM
- iPhone6,2 = iPhone 5S全球
- iPhone5,3 = iPhone 5C GSM
- iPhone5,4 = iPhone 5C全球
- 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)";
这篇关于什么是iPhone 5S&的平台字符串5C?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!