截止2022年苹果发布的iOS设备一览表,后面会不断更新。
iPhone
设备 | 时间 | CPU | 分辨率 | 大小 | 密度 | @Nx | iOS系统 |
---|---|---|---|---|---|---|---|
iPhone | 2007 | armv6 | 320 x 480 | 3.5 | 165 | @1x | 1.0 - 3.1.3 |
iPhone 3 | 2008 | armv6 | 320 x 480 | 3.5 | 165 | @1x | 2.0 - 4.2.1 |
iPhone 3s | 2009 | armv7 | 320 x 480 | 3.5 | 165 | @1x | 3.0 - 6.1.4 |
iPhone 4 (gsm) | 2010 | A4 armv7 | 640 x 960 | 3.5 | 330 | @2x | 4.0 - 7.1.2 |
iPhone 4 (cdma) | 2011 | A4 armv7 | 640 x 960 | 3.5 | 330 | @2x | 4.2.4 - 7.1.2 |
iPhone 4s | 2011 | A5 armv7 | 640 x 960 | 3.5 | 330 | @2x | 5.0 - 9.3.5 |
iPhone 5 | 2012 | A6 armv7s | 640 x 1136 | 4 | 326 | @2x | 6.0 - 10.3.3 |
iPhone 5c | 2013 | A6 armv7s | 640 x 1136 | 4 | 326 | @2x | 7.0 - 10.3.3 |
iPhone 5s | 2013 | A7 arm64 | 640 x 1136 | 4 | 326 | @2x | 7.0 - |
iPhone 6 | 2014 | A8 arm64 | 750 x 1334 | 4.7 | 326 | @2x | 8.0 - |
iPhone 6 Plus | 2014 | A8 arm64 | 1242 x 2208 | 5.5 | 461 | @3x | 8.0 - |
iPhone 6s | 2015 | A9 arm64 | 750 x 1334 | 4.7 | 326 | @2x | 9.0 - |
iPhone 6s Plus | 2015 | A9 arm64 | 1242 x 2208 | 5.5 | 461 | @3x | 9.0 - |
iPhone SE | 2016 | A9 arm64 | 640 x 1136 | 4 | 326 | @2x | 9.3 - |
iPhone 7 | 2016 | A10 arm64 | 750 x 1334 | 4.7 | 326 | @2x | 10.0 - |
iPhone 7 Plus | 2016 | A10 arm64 | 1242 x 2208 | 5.5 | 461 | @3x | 10.0 - |
iPhone 8 | 2017 | A11 arm64 | 750 x 1334 | 4.7 | 326 | @2x | 11.0 - |
iPhone 8 Plus | 2017 | A11 arm64 | 1242 x 2208 | 5.5 | 461 | @3x | 11.0 - |
iPhone X | 2017 | A11 arm64 | 1125 x 2436 | 5.8 | 463 | @3x | 11.0 - |
iPhone XS | 2018 | A12 arm64 | 1125 x 2436 | 5.8 | 463 | @3x | 12.0 - |
iPhone XS Max | 2018 | A12 arm64 | 1242 x 2688 | 6.5 | 458 | @3x | 12.0 - |
iPhone XR | 2018 | A12 arm64 | 828 x 1792 | 6.1 | 326 | @2x | 12.0 - |
iPhone 11 | 2019 | A13 arm64 | 828 x 1792 | 6.1 | 326 | @2x | 13.0 - |
iPhone 11 Pro | 2019 | A13 arm64 | 1125 x 2436 | 5.8 | 458 | @3x | 13.0 - |
iPhone 11 Pro Max | 2019 | A13 arm64 | 1242 x 2688 | 6.5 | 458 | @3x | 13.0 - |
iPhone SE 2 | 2020 | A13 arm64 | 750 x 1334 | 4.7 | 326 | @2x | 13.0 - |
iPhone 12 mini | 2020 | A14 arm64 | 2340 x 1080 | 5.4 | 476 | @3x | 14.0 - |
iPhone 12 | 2020 | A14 arm64 | 2532 x 1170 | 6.1 | 460 | @3x | 14.0 - |
iPhone 12 Pro | 2020 | A14 arm64 | 2532 x 1170 | 6.1 | 460 | @3x | 14.0 - |
iPhone 12 Pro Max | 2020 | A14 arm64 | 2778 x 1284 | 6.7 | 458 | @3x | 14.0 - |
iPhone 13 mini | 2021 | A15 arm64 | 2340 x 1080 | 5.4 | 476 | @3x | 15.0 - |
iPhone 13 | 2021 | A15 arm64 | 2532 x 1170 | 6.1 | 460 | @3x | 15.0 - |
iPhone 13 Pro | 2021 | A15 arm64 | 2532 x 1170 | 6.1 | 460 | @3x | 15.0 - |
iPhone 13 Pro Max | 2021 | A15 arm64 | 2778 x 1284 | 6.7 | 458 | @3x | 15.0 - |
iPhone SE 3 | 2022 | A15 arm64 | 1334 x 750 | 4.7 | 326 | @2x | 15.0 - |
iPhone 14 | 2022 | A15 arm64 | 2532 x 1170 | 6.1 | 460 | @3x | 16.0 - |
iPhone 14 Plus | 2022 | A15 arm64 | 2778 x 1284 | 6.7 | 458 | @3x | 16.0 - |
iPhone 14 Pro | 2022 | A16 arm64 | 2556 x 1179 | 6.1 | 460 | @3x | 16.0 - |
iPhone 14 Pro Max | 2022 | A16 arm64 | 2796 x 1290 | 6.7 | 460 | @3x | 16.0 - |
注:屏幕大小单位为英寸(inch),分辨率密度单位为ppi
iPad
设备 | 发布年份 | CPU | 分辨率 | @Nx | iOS系统 |
---|---|---|---|---|---|
iPad | 2010 | A4 armv7 | 768 x 1024 | @1x | 3.2 - 5.1.1 |
iPad 2 | 2011 | A5 armv7 | 768 x 1024 | @1x | 4.3 - 9.3.5 |
iPad (3rd) | 2012 | A5x armv7 | 1536 x 2048 | @2x | 5.1 - 9.3.5 |
iPad mini | 2012 | A5 armv7s | 768 x 1024 | @1x | 6.0 - 9.3.5 |
iPad (4rd) | 2012 | A6x armv7s | 1536 x 2048 | @2x | 6.0 - |
iPad Air | 2013 | A7 arm64 | 1536 x 2048 | @2x | 7.0 - |
iPad mini 2 | 2013 | A7 arm64 | 1536 x 2048 | @2x | 7.0 - |
iPad Air 2 | 2014 | A8x arm64 | 1536 x 2048 | @2x | 8.1 - |
iPad mini 3 | 2014 | A7 arm64 | 1536 x 2048 | @2x | 8.1 - |
iPad mini 4 | 2015 | A8 arm64 | 1536 x 2048 | @2x | 9.0 - |
iPad Pro (12.9) | 2015 | A9x arm64 | 2048 x 2732 | @2x | 9.1 - |
iPad Pro (9.7) | 2016 | A9x arm64 | 1536 x 2048 | @2x | 9.3 - |
iPad (5rd) | 2017 | A9 arm64 | 1536 x 2048 | @2x | 10.2.1 - |
iPad Pro (10.5) | 2017 | A10x arm64 | 1668 x 2224 | @2x | 10.3.2 - |
iPad Pro (12.9-2) | 2017 | A10x arm64 | 2048 x 2732 | @2x | 10.3.2 - |
iPad (10.2) | 2019 | A12 arm64 | 1620 x 2160 | @2x | iPadOS |
iPad Pro (11) | 2020 | A12x arm64 | 2388 x 1668 | @2x | iPadOS 14 |
iPad Pro (12.9) | 2020 | A12x arm64 | 2732 x 2048 | @2x | iPadOS 14 |
iPad (10.2) | 2021 | A13 arm64 | 2160 x 1620 | @2x | iPadOS 15 |
iPad mini (8.3) | 2021 | A15 arm64 | 2266 x 1488 | @2x | iPadOS 15 |
iPad Air 5 (10.9) | 2022 | M1 arm64 | 2360 x 1640 | @2x | iPadOS 15 |
iPod touch
设备 | 发布年份 | CPU | 分辨率 | @Nx | iOS系统 |
---|---|---|---|---|---|
iPod touch | 2007 | armv6 | 320 x 480 | @1x | 1.1 - 3.1.3 |
iPod touch (2nd) | 2008 | armv6 | 320 x 480 | @1x | 2.1.1 - 4.2.1 |
iPod touch (3rd) | 2009 | armv7 | 320 x 480 | @1x | 3.1 - 5.1.1 |
iPod touch (4th) | 2010 | A4 armv7 | 640 x 960 | @2x | 4.1 - 6.1.4 |
iPod touch (5th) | 2012 | A5 armv7 | 640 x 1136 | @2x | 6.0 - 9.3.5 |
iPod touch (6th) | 2015 | A8 arm64 | 640 x 1136 | @2x | 8.4 - |
获取设备类型代码
- (NSString *)iphoneType {
struct utsname systemInfo;
uname(&systemInfo);
NSString *platform = [NSString stringWithCString:systemInfo.machine encoding:NSASCIIStringEncoding];
//iPhone------------------------------------------------------------
if ([platform isEqualToString:@"iPhone14,7"]) return @"iPhone 14";
if ([platform isEqualToString:@"iPhone14,8"]) return @"iPhone 14 Plus";
if ([platform isEqualToString:@"iPhone15,2"]) return @"iPhone 14 Pro";
if ([platform isEqualToString:@"iPhone15,3"]) return @"iPhone 14 Pro Max";
if ([platform isEqualToString:@"iPhone14,6"]) return @"iPhone SE 3";
if ([platform isEqualToString:@"iPhone14,4"]) return @"iPhone 13 mini";
if ([platform isEqualToString:@"iPhone14,5"]) return @"iPhone 13";
if ([platform isEqualToString:@"iPhone14,2"]) return @"iPhone 13 Pro";
if ([platform isEqualToString:@"iPhone14,3"]) return @"iPhone 13 Pro Max";
if ([platform isEqualToString:@"iPhone13,1"]) return @"iPhone 12 mini";
if ([platform isEqualToString:@"iPhone13,2"]) return @"iPhone 12";
if ([platform isEqualToString:@"iPhone13,2"]) return @"iPhone 12 Pro";
if ([platform isEqualToString:@"iPhone13,4"]) return @"iPhone 12 Pro Max";
if ([platform isEqualToString:@"iPhone12,5"]) return @"iPhone 11 Pro Max";
if ([platform isEqualToString:@"iPhone12,3"]) return @"iPhone 11 Pro";
if ([platform isEqualToString:@"iPhone12,1"]) return @"iPhone 11";
if ([platform isEqualToString:@"iPhone11,8"]) return @"iPhone XR";
if ([platform isEqualToString:@"iPhone11,6"]) return @"iPhone XS Max";
if ([platform isEqualToString:@"iPhone11,4"]) return @"iPhone XS Max";
if ([platform isEqualToString:@"iPhone11,2"]) return @"iPhone XS";
if ([platform isEqualToString:@"iPhone10,6"]) return @"iPhone X";
if ([platform isEqualToString:@"iPhone10,3"]) return @"iPhone X";
if ([platform isEqualToString:@"iPhone10,5"]) return @"iPhone 8 Plus";
if ([platform isEqualToString:@"iPhone10,2"]) return @"iPhone 8 Plus";
if ([platform isEqualToString:@"iPhone10,4"]) return @"iPhone 8";
if ([platform isEqualToString:@"iPhone10,1"]) return @"iPhone 8";
if ([platform isEqualToString:@"iPhone9,4"]) return @"iPhone 7 Plus";
if ([platform isEqualToString:@"iPhone9,3"]) return @"iPhone 7";
if ([platform isEqualToString:@"iPhone9,2"]) return @"iPhone 7 Plus";
if ([platform isEqualToString:@"iPhone9,1"]) return @"iPhone 7";
if ([platform isEqualToString:@"iPhone8,4"]) return @"iPhone SE";
if ([platform isEqualToString:@"iPhone8,2"]) return @"iPhone 6s Plus";
if ([platform isEqualToString:@"iPhone8,1"]) return @"iPhone 6s";
if ([platform isEqualToString:@"iPhone7,2"]) return @"iPhone 6";
if ([platform isEqualToString:@"iPhone7,1"]) return @"iPhone 6 Plus";
if ([platform isEqualToString:@"iPhone6,2"]) return @"iPhone 5s";
if ([platform isEqualToString:@"iPhone6,1"]) return @"iPhone 5s";
if ([platform isEqualToString:@"iPhone5,4"]) return @"iPhone 5c";
if ([platform isEqualToString:@"iPhone5,3"]) return @"iPhone 5c";
if ([platform isEqualToString:@"iPhone5,2"]) return @"iPhone 5";
if ([platform isEqualToString:@"iPhone5,1"]) return @"iPhone 5";
if ([platform isEqualToString:@"iPhone4,1"]) return @"iPhone 4s";
if ([platform isEqualToString:@"iPhone3,3"]) return @"iPhone 4";
if ([platform isEqualToString:@"iPhone3,2"]) return @"iPhone 4";
if ([platform isEqualToString:@"iPhone3,1"]) return @"iPhone 4";
if ([platform isEqualToString:@"iPhone2,1"]) return @"iPhone 3s";
if ([platform isEqualToString:@"iPhone1,2"]) return @"iPhone 3";
if ([platform isEqualToString:@"iPhone1,1"]) return @"iPhone 2";
//iPod------------------------------------------------------------
if ([platform isEqualToString:@"iPod1,1"]) return @"iPod Touch";
if ([platform isEqualToString:@"iPod2,1"]) return @"iPod Touch 2";
if ([platform isEqualToString:@"iPod3,1"]) return @"iPod Touch 3";
if ([platform isEqualToString:@"iPod4,1"]) return @"iPod Touch 4";
if ([platform isEqualToString:@"iPod5,1"]) return @"iPod Touch 5";
if ([platform isEqualToString:@"iPod7,1"]) return @"iPod Touch 6";
//iPad------------------------------------------------------------
if ([platform isEqualToString:@"iPad1,1"]) return @"iPad";
if ([platform isEqualToString:@"iPad1,2"]) return @"iPad";
if ([platform isEqualToString:@"iPad2,1"]) return @"iPad 2";
if ([platform isEqualToString:@"iPad2,2"]) return @"iPad 2";
if ([platform isEqualToString:@"iPad2,3"]) return @"iPad 2";
if ([platform isEqualToString:@"iPad2,4"]) return @"iPad 2";
if ([platform isEqualToString:@"iPad3,1"]) return @"iPad 3";
if ([platform isEqualToString:@"iPad3,2"]) return @"iPad 3";
if ([platform isEqualToString:@"iPad3,3"]) return @"iPad 3";
if ([platform isEqualToString:@"iPad3,4"]) return @"iPad 4";
if ([platform isEqualToString:@"iPad3,5"]) return @"iPad 4";
if ([platform isEqualToString:@"iPad3,6"]) return @"iPad 4";
if ([platform isEqualToString:@"iPad6,11"]) return @"iPad 5";
if ([platform isEqualToString:@"iPad6,12"]) return @"iPad 5";
if ([platform isEqualToString:@"iPad7,5"]) return @"iPad 6";
if ([platform isEqualToString:@"iPad7,6"]) return @"iPad 6";
if ([platform isEqualToString:@"iPad7,11"]) return @"iPad 7";
if ([platform isEqualToString:@"iPad7,12"]) return @"iPad 7";
if ([platform isEqualToString:@"iPad11,6"]) return @"iPad 8";
if ([platform isEqualToString:@"iPad11,7"]) return @"iPad 8";
if ([platform isEqualToString:@"iPad12,1"]) return @"iPad 9";
if ([platform isEqualToString:@"iPad12,2"]) return @"iPad 9";
//iPad Pro------------------------------------------------------------
if ([platform isEqualToString:@"iPad6,7"]) return @"iPad Pro 12.9-inch";
if ([platform isEqualToString:@"iPad6,8"]) return @"iPad Pro 12.9-inch";
if ([platform isEqualToString:@"iPad6,3"]) return @"iPad Pro 9.7-inch";
if ([platform isEqualToString:@"iPad6,4"]) return @"iPad Pro 9.7-inch";
if ([platform isEqualToString:@"iPad7,1"]) return @"iPad Pro 12.9-inch 2";
if ([platform isEqualToString:@"iPad7,2"]) return @"iPad Pro 12.9-inch 2";
if ([platform isEqualToString:@"iPad7,3"]) return @"iPad Pro 10.5-inch";
if ([platform isEqualToString:@"iPad7,4"]) return @"iPad Pro 10.5-inch";
if ([platform isEqualToString:@"iPad7,11"]) return @"iPad 10.2-inch";
if ([platform isEqualToString:@"iPad7,12"]) return @"iPad 10.2-inch";
if ([platform isEqualToString:@"iPad8,1"]) return @"iPad 11-inch";
if ([platform isEqualToString:@"iPad8,2"]) return @"iPad 11-inch";
if ([platform isEqualToString:@"iPad8,3"]) return @"iPad 11-inch";
if ([platform isEqualToString:@"iPad8,4"]) return @"iPad 11-inch";
if ([platform isEqualToString:@"iPad8,5"]) return @"iPad Pro 12.9-inch 3";
if ([platform isEqualToString:@"iPad8,6"]) return @"iPad Pro 12.9-inch 3";
if ([platform isEqualToString:@"iPad8,7"]) return @"iPad Pro 12.9-inch 3";
if ([platform isEqualToString:@"iPad8,8"]) return @"iPad Pro 12.9-inch 3";
if ([platform isEqualToString:@"iPad8,9"]) return @"iPad 11-inch 2";
if ([platform isEqualToString:@"iPad8,10"]) return @"iPad 11-inch 2";
if ([platform isEqualToString:@"iPad8,11"]) return @"iPad Pro 12.9-inch 4";
if ([platform isEqualToString:@"iPad8,12"]) return @"iPad Pro 12.9-inch 4";
if ([platform isEqualToString:@"iPad13,4"]) return @"iPad 11-inch 3";
if ([platform isEqualToString:@"iPad13,5"]) return @"iPad 11-inch 3";
if ([platform isEqualToString:@"iPad13,6"]) return @"iPad 11-inch 3";
if ([platform isEqualToString:@"iPad13,7"]) return @"iPad 11-inch 3";
if ([platform isEqualToString:@"iPad13,8"]) return @"iPad Pro 12.9-inch 5";
if ([platform isEqualToString:@"iPad13,9"]) return @"iPad Pro 12.9-inch 5";
if ([platform isEqualToString:@"iPad13,10"]) return @"iPad Pro 12.9-inch 5";
if ([platform isEqualToString:@"iPad13,11"]) return @"iPad Pro 12.9-inch 5";
//iPad Air------------------------------------------------------------
if ([platform isEqualToString:@"iPad4,1"]) return @"iPad Air";
if ([platform isEqualToString:@"iPad4,2"]) return @"iPad Air";
if ([platform isEqualToString:@"iPad4,3"]) return @"iPad Air";
if ([platform isEqualToString:@"iPad5,3"]) return @"iPad Air 2";
if ([platform isEqualToString:@"iPad5,4"]) return @"iPad Air 2";
if ([platform isEqualToString:@"iPad11,3"]) return @"iPad Air 3";
if ([platform isEqualToString:@"iPad11,4"]) return @"iPad Air 3";
if ([platform isEqualToString:@"iPad13,1"]) return @"iPad Air 4";
if ([platform isEqualToString:@"iPad13,2"]) return @"iPad Air 4";
if ([platform isEqualToString:@"iPad13,16"]) return @"iPad Air 5";
if ([platform isEqualToString:@"iPad13,17"]) return @"iPad Air 5";
//iPad Mini------------------------------------------------------------
if ([platform isEqualToString:@"iPad2,5"]) return @"iPad Mini";
if ([platform isEqualToString:@"iPad2,6"]) return @"iPad Mini";
if ([platform isEqualToString:@"iPad2,7"]) return @"iPad Mini";
if ([platform isEqualToString:@"iPad4,4"]) return @"iPad Mini 2";
if ([platform isEqualToString:@"iPad4,5"]) return @"iPad Mini 2";
if ([platform isEqualToString:@"iPad4,6"]) return @"iPad Mini 2";
if ([platform isEqualToString:@"iPad4,7"]) return @"iPad Mini 3";
if ([platform isEqualToString:@"iPad4,8"]) return @"iPad Mini 3";
if ([platform isEqualToString:@"iPad4,9"]) return @"iPad Mini 3";
if ([platform isEqualToString:@"iPad5,1"]) return @"iPad Mini 4";
if ([platform isEqualToString:@"iPad5,2"]) return @"iPad Mini 4";
if ([platform isEqualToString:@"iPad11,1"]) return @"iPad Mini 5";
if ([platform isEqualToString:@"iPad11,2"]) return @"iPad Mini 5";
if ([platform isEqualToString:@"iPad14,1"]) return @"iPad Mini 6";
if ([platform isEqualToString:@"iPad14,2"]) return @"iPad Mini 6";
//Simulator------------------------------------------------------------
if ([platform isEqualToString:@"i386"]) return @"iPhone Simulator";
if ([platform isEqualToString:@"x86_64"]) return @"iPhone Simulator";
return platform;
}
附:设备名称和设备型号对照表链接
https://www.theiphonewiki.com/wiki/Models