截止2020年苹果发布的iOS设备一览表,后面会不断更新。
iPhone
设备 | 时间 | CPU | 分辨率 | 大小 | 密度 | @Nx | iOS系统 |
---|---|---|---|---|---|---|---|
iPhone | 2007 | armv6 | 320 x 480 | 3.5 | 165 | @1x | 1.0 - 3.1.3 |
iPhone 3G | 2008 | armv6 | 320 x 480 | 3.5 | 165 | @1x | 2.0 - 4.2.1 |
iPhone 3GS | 2009 | armv7 | 320 x 480 | 3.5 | 165 | @1x | 3.0 - 6.1.4 |
iPhone 4 (GSM) | 2010 | armv7 | 640 x 960 | 3.5 | 330 | @2x | 4.0 - 7.1.2 |
iPhone 4 (CDMA) | 2011 | armv7 | 640 x 960 | 3.5 | 330 | @2x | 4.2.4 - 7.1.2 |
iPhone 4S | 2011 | armv7 | 640 x 960 | 3.5 | 330 | @2x | 5.0 - 9.3.5 |
iPhone 5 | 2012 | armv7s | 640 x 1136 | 4 | 326 | @2x | 6.0 - 10.3.3 |
iPhone 5c | 2013 | armv7s | 640 x 1136 | 4 | 326 | @2x | 7.0 - 10.3.3 |
iPhone 5s | 2013 | arm64 | 640 x 1136 | 4 | 326 | @2x | 7.0 - |
iPhone 6 | 2014 | arm64 | 750 x 1334 | 4.7 | 326 | @2x | 8.0 - |
iPhone 6 Plus | 2014 | arm64 | 1242 x 2208 | 5.5 | 461 | @3x | 8.0 - |
iPhone 6s | 2015 | arm64 | 750 x 1334 | 4.7 | 326 | @2x | 9.0 - |
iPhone 6s Plus | 2015 | arm64 | 1242 x 2208 | 5.5 | 461 | @3x | 9.0 - |
iPhone SE | 2016 | arm64 | 640 x 1136 | 4 | 326 | @2x | 9.3 - |
iPhone 7 | 2016 | arm64 | 750 x 1334 | 4.7 | 326 | @2x | 10.0 - |
iPhone 7 Plus | 2016 | arm64 | 1242 x 2208 | 5.5 | 461 | @3x | 10.0 - |
iPhone 8 | 2017 | arm64 | 750 x 1334 | 4.7 | 326 | @2x | 11.0 - |
iPhone 8 Plus | 2017 | arm64 | 1242 x 2208 | 5.5 | 461 | @3x | 11.0 - |
iPhone X | 2017 | arm64 | 1125 x 2436 | 5.8 | 463 | @3x | 11.0 - |
iPhone XS | 2018 | arm64 | 1125 x 2436 | 5.8 | 463 | @3x | 12.0 - |
iPhone XS Max | 2018 | arm64 | 1242 x 2688 | 6.5 | 458 | @3x | 12.0 - |
iPhone XR | 2018 | arm64 | 828 x 1792 | 6.1 | 326 | @2x | 12.0 - |
iPhone 11 | 2019 | arm64 | 828 x 1792 | 6.1 | 326 | @2x | 13.0 - |
iPhone 11 Pro | 2019 | arm64 | 1125 x 2436 | 5.8 | 458 | @3x | 13.0 - |
iPhone 11 Pro Max | 2019 | arm64 | 1242 x 2688 | 6.5 | 458 | @3x | 13.0 - |
iPhone SE 2 | 2020 | arm64 | 750 x 1334 | 4.7 | 326 | @2x | 13.0 - |
iPhone 12 mini | 2020 | arm64 | 2340 x 1080 | 5.4 | 476 | @3x | 14.0 - |
iPhone 12 | 2020 | arm64 | 2532 x 1170 | 6.1 | 460 | @3x | 14.0 - |
iPhone 12 Pro | 2020 | arm64 | 2532 x 1170 | 6.1 | 460 | @3x | 14.0 - |
iPhone 12 Pro Max | 2020 | arm64 | 2778 x 1284 | 6.7 | 458 | @3x | 14.0 - |
注:屏幕大小单位为英寸(inch),分辨率密度单位为ppi
iPad
设备 | 发布年份 | CPU架构 | 分辨率 | @Nx | iOS系统 |
---|---|---|---|---|---|
iPad | 2010 | armv7 | 768 x 1024 | @1x | 3.2 - 5.1.1 |
iPad 2 | 2011 | armv7 | 768 x 1024 | @1x | 4.3 - 9.3.5 |
iPad (3rd) | 2012 | armv7 | 1536 x 2048 | @2x | 5.1 - 9.3.5 |
iPad mini | 2012 | armv7s | 768 x 1024 | @1x | 6.0 - 9.3.5 |
iPad (4rd) | 2012 | armv7s | 1536 x 2048 | @2x | 6.0 - |
iPad Air | 2013 | arm64 | 1536 x 2048 | @2x | 7.0 - |
iPad mini Retina | 2013 | arm64 | 1536 x 2048 | @2x | 7.0 - |
iPad Air 2 | 2014 | arm64 | 1536 x 2048 | @2x | 8.1 - |
iPad mini 3 | 2014 | arm64 | 1536 x 2048 | @2x | 8.1 - |
iPad mini 4 | 2015 | arm64 | 1536 x 2048 | @2x | 9.0 - |
iPad Pro (12.9) | 2015 | arm64 | 2048 x 2732 | @2x | 9.1 - |
iPad Pro (9.7) | 2016 | arm64 | 1536 x 2048 | @2x | 9.3 - |
iPad (5rd) | 2017 | arm64 | 1536 x 2048 | @2x | 10.2.1 - |
iPad Pro (10.5) | 2017 | arm64 | 1668 x 2224 | @2x | 10.3.2 - |
iPad Pro (12.9-2) | 2017 | arm64 | 2048 x 2732 | @2x | 10.3.2 - |
iPad (10.2) | 2019 | arm64 | 1620 x 2160 | @2x | iPadOS |
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 | armv7 | 640 x 960 | @2x | 4.1 - 6.1.4 |
iPod touch (5th) | 2012 | armv7 | 640 x 1136 | @2x | 6.0 - 9.3.5 |
iPod touch (6th) | 2015 | 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:@"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 (GSM)";
if ([platform isEqualToString:@"iPhone9,3"]) return @"iPhone 7 (GSM)";
if ([platform isEqualToString:@"iPhone9,2"]) return @"iPhone 7 Plus (CDMA)";
if ([platform isEqualToString:@"iPhone9,1"]) return @"iPhone 7 (CDMA)";
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 3GS";
if ([platform isEqualToString:@"iPhone1,2"]) return @"iPhone 3G";
if ([platform isEqualToString:@"iPhone1,1"]) return @"iPhone 2G";
//iPod------------------------------------------------------------
if ([platform isEqualToString:@"iPod1,1"]) return @"iPod Touch 1G";
if ([platform isEqualToString:@"iPod2,1"]) return @"iPod Touch 2G";
if ([platform isEqualToString:@"iPod3,1"]) return @"iPod Touch 3G";
if ([platform isEqualToString:@"iPod4,1"]) return @"iPod Touch 4G";
if ([platform isEqualToString:@"iPod5,1"]) return @"iPod Touch 5G";
if ([platform isEqualToString:@"iPod7,1"]) return @"iPod Touch 6G";
//iPad------------------------------------------------------------
if ([platform isEqualToString:@"iPad1,1"]) return @"iPad 1G";
if ([platform isEqualToString:@"iPad1,2"]) return @"iPad 1G";
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";
//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";
//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";
//iPad Mini------------------------------------------------------------
if ([platform isEqualToString:@"iPad2,5"]) return @"iPad Mini 1G";
if ([platform isEqualToString:@"iPad2,6"]) return @"iPad Mini 1G";
if ([platform isEqualToString:@"iPad2,7"]) return @"iPad Mini 1G";
if ([platform isEqualToString:@"iPad4,4"]) return @"iPad Mini 2G";
if ([platform isEqualToString:@"iPad4,5"]) return @"iPad Mini 2G";
if ([platform isEqualToString:@"iPad4,6"]) return @"iPad Mini 2G";
if ([platform isEqualToString:@"iPad4,7"]) return @"iPad Mini 3G";
if ([platform isEqualToString:@"iPad4,8"]) return @"iPad Mini 3G";
if ([platform isEqualToString:@"iPad4,9"]) return @"iPad Mini 3G";
if ([platform isEqualToString:@"iPad5,1"]) return @"iPad Mini 4G";
if ([platform isEqualToString:@"iPad5,2"]) return @"iPad Mini 4G";
//Simulator------------------------------------------------------------
if ([platform isEqualToString:@"i386"]) return @"iPhone Simulator";
if ([platform isEqualToString:@"x86_64"]) return @"iPhone Simulator";
return platform;
}
附:设备名称和设备型号对照表
i386 : iPhone Simulator
x86_64 : iPhone Simulator
iPhone1,1 : iPhone
iPhone1,2 : iPhone 3G
iPhone2,1 : iPhone 3GS
iPhone3,1 : iPhone 4
iPhone3,2 : iPhone 4 GSM Rev A
iPhone3,3 : iPhone 4 CDMA
iPhone4,1 : iPhone 4S
iPhone5,1 : iPhone 5 (GSM)
iPhone5,2 : iPhone 5 (GSM+CDMA)
iPhone5,3 : iPhone 5C (GSM)
iPhone5,4 : iPhone 5C (Global)
iPhone6,1 : iPhone 5S (GSM)
iPhone6,2 : iPhone 5S (Global)
iPhone7,1 : iPhone 6 Plus
iPhone7,2 : iPhone 6
iPhone8,1 : iPhone 6s
iPhone8,2 : iPhone 6s Plus
iPhone8,4 : iPhone SE (GSM)
iPhone9,1 : iPhone 7
iPhone9,2 : iPhone 7 Plus
iPhone9,3 : iPhone 7
iPhone9,4 : iPhone 7 Plus
iPhone10,1 : iPhone 8
iPhone10,2 : iPhone 8 Plus
iPhone10,3 : iPhone X Global
iPhone10,4 : iPhone 8
iPhone10,5 : iPhone 8 Plus
iPhone10,6 : iPhone X GSM
iPhone11,2 : iPhone XS
iPhone11,4 : iPhone XS Max
iPhone11,6 : iPhone XS Max Global
iPhone11,8 : iPhone XR
iPhone12,1 : iPhone 11
iPhone12,3 : iPhone 11 Pro
iPhone12,5 : iPhone 11 Pro Max
iPod1,1 : 1st Gen iPod
iPod2,1 : 2nd Gen iPod
iPod3,1 : 3rd Gen iPod
iPod4,1 : 4th Gen iPod
iPod5,1 : 5th Gen iPod
iPod7,1 : 6th Gen iPod
iPod9,1 : 7th Gen iPod
iPad1,1 : iPad
iPad1,2 : iPad 3G
iPad2,1 : 2nd Gen iPad
iPad2,2 : 2nd Gen iPad GSM
iPad2,3 : 2nd Gen iPad CDMA
iPad2,4 : 2nd Gen iPad New Revision
iPad3,1 : 3rd Gen iPad
iPad3,2 : 3rd Gen iPad CDMA
iPad3,3 : 3rd Gen iPad GSM
iPad2,5 : iPad mini
iPad2,6 : iPad mini GSM+LTE
iPad2,7 : iPad mini CDMA+LTE
iPad3,4 : 4th Gen iPad
iPad3,5 : 4th Gen iPad GSM+LTE
iPad3,6 : 4th Gen iPad CDMA+LTE
iPad4,1 : iPad Air (WiFi)
iPad4,2 : iPad Air (GSM+CDMA)
iPad4,3 : 1st Gen iPad Air (China)
iPad4,4 : iPad mini Retina (WiFi)
iPad4,5 : iPad mini Retina (GSM+CDMA)
iPad4,6 : iPad mini Retina (China)
iPad4,7 : iPad mini 3 (WiFi)
iPad4,8 : iPad mini 3 (GSM+CDMA)
iPad4,9 : iPad Mini 3 (China)
iPad5,1 : iPad mini 4 (WiFi)
iPad5,2 : 4th Gen iPad mini (WiFi+Cellular)
iPad5,3 : iPad Air 2 (WiFi)
iPad5,4 : iPad Air 2 (Cellular)
iPad6,3 : iPad Pro (9.7 inch, WiFi)
iPad6,4 : iPad Pro (9.7 inch, WiFi+LTE)
iPad6,7 : iPad Pro (12.9 inch, WiFi)
iPad6,8 : iPad Pro (12.9 inch, WiFi+LTE)
iPad6,11 : iPad (2017)
iPad6,12 : iPad (2017)
iPad7,1 : iPad Pro 2nd Gen (WiFi)
iPad7,2 : iPad Pro 2nd Gen (WiFi+Cellular)
iPad7,3 : iPad Pro 10.5-inch
iPad7,4 : iPad Pro 10.5-inch
iPad7,5 : iPad 6th Gen (WiFi)
iPad7,6 : iPad 6th Gen (WiFi+Cellular)
iPad7,11 : iPad 7th Gen 10.2-inch (WiFi)
iPad7,12 : iPad 7th Gen 10.2-inch (WiFi+Cellular)
iPad8,1 : iPad Pro 3rd Gen (11 inch, WiFi)
iPad8,2 : iPad Pro 3rd Gen (11 inch, 1TB, WiFi)
iPad8,3 : iPad Pro 3rd Gen (11 inch, WiFi+Cellular)
iPad8,4 : iPad Pro 3rd Gen (11 inch, 1TB, WiFi+Cellular)
iPad8,5 : iPad Pro 3rd Gen (12.9 inch, WiFi)
iPad8,6 : iPad Pro 3rd Gen (12.9 inch, 1TB, WiFi)
iPad8,7 : iPad Pro 3rd Gen (12.9 inch, WiFi+Cellular)
iPad8,8 : iPad Pro 3rd Gen (12.9 inch, 1TB, WiFi+Cellular)
iPad11,1 : iPad mini 5th Gen (WiFi)
iPad11,2 : iPad mini 5th Gen
iPad11,3 : iPad Air 3rd Gen (WiFi)
iPad11,4 : iPad Air 3rd Gen
Watch1,1 : Apple Watch 38mm case
Watch1,2 : Apple Watch 42mm case
Watch2,6 : Apple Watch Series 1 38mm case
Watch2,7 : Apple Watch Series 1 42mm case
Watch2,3 : Apple Watch Series 2 38mm case
Watch2,4 : Apple Watch Series 2 42mm case
Watch3,1 : Apple Watch Series 3 38mm case (GPS+Cellular)
Watch3,2 : Apple Watch Series 3 42mm case (GPS+Cellular)
Watch3,3 : Apple Watch Series 3 38mm case (GPS)
Watch3,4 : Apple Watch Series 3 42mm case (GPS)
Watch4,1 : Apple Watch Series 4 40mm case (GPS)
Watch4,2 : Apple Watch Series 4 44mm case (GPS)
Watch4,3 : Apple Watch Series 4 40mm case (GPS+Cellular)
Watch4,4 : Apple Watch Series 4 44mm case (GPS+Cellular)
Watch5,1 : Apple Watch Series 5 40mm case (GPS)
Watch5,2 : Apple Watch Series 5 44mm case (GPS)
Watch5,3 : Apple Watch Series 5 40mm case (GPS+Cellular)
Watch5,4 : Apple Watch Series 5 44mm case (GPS+Cellular)
网友评论