iPhone⼿机型号信息⼤全(最新)
2019年9⽉新增设备
iPhone 11 , iPhone 11 Pro, iPhone 11 Pro Max
//获得设备型号
+ (NSString *)getCurrentDevice
{
韩文网名大全int mib[2];
size_t len;
char *machine;
mib[0] = CTL_HW;
mib[1] = HW_MACHINE;
sysctl(mib, 2, NULL, &len, NULL, 0);
machine = malloc(len);
sysctl(mib, 2, machine, &len, NULL, 0);
NSString *platform = [NSString stringWithCString:machine encoding:NSASCIIStringEncoding];
free(machine);
// iPhone
逆来顺受造句顺丰物流查询if ([platform isEqualToString:@"iPhone1,1"]) return @"iPhone2G";
if ([platform isEqualToString:@"iPhone1,2"]) return @"iPhone3G";
if ([platform isEqualToString:@"iPhone2,1"]) return @"iPhone3GS";
if ([platform isEqualToString:@"iPhone3,1"]) return @"iPhone4";
if ([platform isEqualToString:@"iPhone3,2"]) return @"iPhone4";
if ([platform isEqualToString:@"iPhone3,3"]) return @"iPhone4";
全世界最美丽的地方if ([platform isEqualToString:@"iPhone4,1"]) return @"iPhone4S";
if ([platform isEqualToString:@"iPhone5,1"]) return @"iPhone5";
if ([platform isEqualToString:@"iPhone5,2"]) return @"iPhone5";
if ([platform isEqualToString:@"iPhone5,3"]) return @"iPhone5c";
if ([platform isEqualToString:@"iPhone5,4"]) return @"iPhone5c";
车管所国庆上班吗if ([platform isEqualToString:@"iPhone6,1"]) return @"iPhone5s";
if ([platform isEqualToString:@"iPhone6,2"]) return @"iPhone5s";
if ([platform isEqualToString:@"iPhone7,2"]) return @"iPhone6";
if ([platform isEqualToString:@"iPhone7,1"]) return @"iPhone6Plus";
if ([platform isEqualToString:@"iPhone8,1"]) return @"iPhone6s";
if ([platform isEqualToString:@"iPhone8,2"]) return @"iPhone6sPlus";
if ([platform isEqualToString:@"iPhone8,3"]) return @"iPhoneSE";
if ([platform isEqualToString:@"iPhone8,4"]) return @"iPhoneSE";
初一英语小作文if ([platform isEqualToString:@"iPhone9,1"]) return @"iPhone7";
if ([platform isEqualToString:@"iPhone9,2"] ||
[platform isEqualToString:@"iPhone9,4"]) return @"iPhone7Plus";
if ([platform isEqualToString:@"iPhone10,1"] ||
[platform isEqualToString:@"iPhone10,4"]) return @"iPhone 8";
if ([platform isEqualToString:@"iPhone10,2"] ||
[platform isEqualToString:@"iPhone10,5"]) return @"iPhone 8 Plus";
if ([platform isEqualToString:@"iPhone10,3"] ||
[platform isEqualToString:@"iPhone10,6"]) return @"iPhone X";
if ([platform isEqualToString:@"iPhone11,8"]) return @"iPhone XR";
if ([platform isEqualToString:@"iPhone11,2"]) return @"iPhone XS";
if ([platform isEqualToString:@"iPhone11,4"] ||
[platform isEqualToString:@"iPhone11,6"]) return @"iPhone XS Max";
if ([platform isEqualToString:@"iPhone12,1"]) return @"iPhone 11";
if ([platform isEqualToString:@"iPhone12,3"]) return @"iPhone 11 Pro";
if ([platform isEqualToString:@"iPhone12,5"]) return @"iPhone 11 Pro Max";
//iPod Touch
if ([platform isEqualToString:@"iPod1,1"]) return @"iPodTouch";
if ([platform isEqualToString:@"iPod2,1"]) return @"iPodTouch2G";
if ([platform isEqualToString:@"iPod3,1"]) return @"iPodTouch3G";
if ([platform isEqualToString:@"iPod4,1"]) return @"iPodTouch4G";
if ([platform isEqualToString:@"iPod5,1"]) return @"iPodTouch5G";
if ([platform isEqualToString:@"iPod7,1"]) return @"iPodTouch6G";
//iPad
if ([platform isEqualToString:@"iPad1,1"]) return @"iPad";
if ([platform isEqualToString:@"iPad2,1"]) return @"iPad2";
if ([platform isEqualToString:@"iPad2,2"]) return @"iPad2";
if ([platform isEqualToString:@"iPad2,3"]) return @"iPad2";
机型像素⽐例ppi尺⼨机型代码发布时间iPhone 6s1334×75016:9401 4.7iPhone8,22015.09 iPhone 6 plus1920×108016:9401 5.5iPhone7,12014.09 iPhone 61334×75016:9401 4.7iPhone7,22014.09 iPhone 5s1136×64016:9326 4.0iPhone6,1 iPhone6,22013.09 iPa d:
机型逻辑分辨率Scale物理分辨率⽐例ppi尺⼨型号代码发布时间iPad 51024×768@2x2048×15364:32649.7iPad6,11 iPad6,122017.03 iPad 41024×768@2x2048×15364:32649.7iPad3,4 iPad3,5 iPad3,62012.10 iPad 31024×768@2x2048×15364:32649.7iPad3,1 iPad3,2 iPad3,32012.03 iPad 21024×768@1x1024×7684:31639.7iPad2,1 iPad2,2 iPad2,3 iPad2,42011.03 iPad1024×768@1x1024×7684:31639.7iPad1,12010.01
d Air:
iPa d Air:
机型逻辑分辨率Scale物理分辨率⽐例ppi尺⼨型号代码发布时间iPad Air1024×768@2x2048×15364:32649.7iPad4,1 iPad4,2 iPad4,32013.10 iPad Air 21024×768@2x2048×15364:32649.7iPad5,3 iPad5,42014.10
d Pr o
iPa d Pro:
机型逻辑分辨率Scale物理分辨率⽐例ppi尺⼨型号代码发布时间iPad Pro 10.51112×834@2x2224×16684:326410.5iPad7,3 iPad7,42017 iPad Pro 12.9-inch 21366×1024@2x2732×20484:326412.9iPad7,1 iPad7,22017 iPad Pro 9.7-inch1024×768@2x2048×15364:32649.7iPad6,3 iPad6,42016.03 iPad Pro 12.9-inch1366×1024@2x2732×20484:326412.9iPad6,7 iPad6,82015.09 iPa d Mini:
机型逻辑分辨率Scale物理分辨率⽐例ppi尺⼨型号代码发布时间iPad mini 41024×768@2X2048×15364:33267.9iPad5,1 iPad5,2 iPad4,92015.09 iPad mini 31024×768@2X2048×15364:33267.9iPad4,7 iPad4,8 iPad4,92014.10 iPad mini 21024×768@2X2048×15364:33267.9iPad4,5 iPad4,6 iPad4,72013.10 iPad mini1024×768@1X1024×7684:31637.9iPad2,5 iPad2,6 iPad2,72012.10 Sa mulito r:
机型型号代码
Simulator i386、x86_64
Unknown
机型型号代码
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。
发表评论