iPhone设备型号&名称对应表(更新至iPhone 11 Pro Max)
参考: https://zh.wikipedia.org/zh-hans/IOS设备列表,上面有更多细节信息
设备型号 | 名称 |
iPhone1,1 | iPhone |
iPhone1,2 | iPhone3G |
iPhone2,1 | iPhone3GS |
iPhone3,1 | iPhone 4 |
iPhone3,2 | iPhone 4 |
iPhone3,3 | iPhone 4 |
iPhone4,1 | iPhone 4S |
iPhone5,1 | iPhone 5 |
iPhone5,2 | iPhone 5 |
iPhone5,3 | iPhone 5c |
iPhone5,4 | iPhone 5c |
iPhone6,1 | iPhone 5s |
iPhone6,2 | iPhone 5s |
iPhone7,1 | iPhone 6 Plus |
iPhone7,2 | iPhone 6 |
iPhone8,1 | iPhone 6s |
iPhone8,2 | iPhone 6s Plus |
iPhone8,4 | iPhone SE |
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,4 | iPhone 8 |
iPhone10,5 | iPhone 8 Plus |
iPhone10,3 | iPhone X |
iPhone10,6 | iPhone X |
iPhone11,2 | iPhone XS |
iPhone11,4 | iPhone XS Max |
iPhone11,6 | iPhone XS Max |
iPhone11,8 | iPhone XR |
iPhone12,1 | iPhone 11 |
iPhone12,3 | iPhone 11 Pro |
iPhone12,5 | iPhone 11 Pro Max |
i386 | Simulator |
x86_64 | Simulator |
iPod1,1 | iPod Touch 1G |
iPod2,1 | iPod Touch 2G |
iPod3,1 | iPod Touch 3G |
iPod4,1 | iPod Touch 4G |
iPod5,1 | iPod Touch 5G |
iPad1,1 | iPad |
iPad1,2 | iPad 3G |
iPad2,1 | iPad 2 |
iPad2,2 | iPad 2 |
iPad2,3 | iPad 2 |
iPad2,4 | iPad 2 |
iPad2,5 | iPad Mini |
iPad2,6 | iPad Mini |
iPad2,7 | iPad Mini |
iPad3,1 | iPad 3 |
iPad3,2 | iPad 3 |
iPad3,3 | iPad 3 |
iPad3,4 | iPad 4 |
iPad3,5 | iPad 4 |
iPad3,6 | iPad 4 |
iPad4,1 | iPad Air |
iPad4,2 | iPad Air |
iPad4,4 | iPad Mini 2 |
iPad4,5 | iPad Mini 2 |
iPad4,6 | iPad Mini 2 |
iPad4,7 | iPad Mini 3 |
iPad4,8 | iPad Mini 3 |
iPad4,9 | iPad Mini 3 |
iPad5,1 | iPad Mini 4 |
iPad5,2 | iPad Mini 4 |
iPad5,3 | iPad Air 2 |
iPad5,4 | iPad Air 2 |
iPad6,3 | iPad Pro 9.7 |
iPad6,4 | iPad Pro 9.7 |
iPad6,7 | iPad Pro 12.9 |
iPad6,8 | iPad Pro 12.9 |
iPad6,11 | iPad 5 |
iPad6,12 | iPad 5 |
iPad7,1 | iPad Pro 12.9 inch 2nd gen |
iPad7,2 | iPad Pro 12.9 inch 2nd gen |
iPad7,3 | iPad Pro 10.5 inch |
iPad7,4 | iPad Pro 10.5 inch |
iPad8,1 ~ 8,4 | iPad Pro 11-inch |
iPad8,5 ~ 8,8 | iPad Pro 12.9-inch |
iPad11,1 | iPad Mini 5 |
iPad11,2 | iPad Mini 5 |
iPad11,3 | iPad Air 3 |
iPad11,4 | iPad Air 3 |
纯数据版本
Json数据如下:
[
{
"model":"iPhone1,1",
"name":"iPhone"
},
{
"model":"iPhone1,2",
"name":"iPhone3GS"
},
{
"model":"iPhone3,2",
"name":"iPhone 4"
},
{
"model":"iPhone3,3",
"name":"iPhone 4"
},
{
"model":"iPhone4,1",
"name":"iPhone 4S"
},
{
"model":"iPhone5,1",
"name":"iPhone 5"
},
{
"model":"iPhone5,2",
"name":"iPhone 5"
},
{
"model":"iPhone5,3",
"name":"iPhone 5c"
},
{
"model":"iPhone5,4",
"name":"iPhone 5c"
},
{
"model":"iPhone6,1",
"name":"iPhone 5s"
},
{
"model":"iPhone6,2",
"name":"iPhone 5s"
},
{
"model":"iPhone7,1",
"name":"iPhone 6 Plus"
},
{
"model":"iPhone7,2",
"name":"iPhone 6"
},
{
"model":"iPhone8,1",
"name":"iPhone 6s"
},
{
"model":"iPhone8,2",
"name":"iPhone 6s Plus"
},
{
"model":"iPhone8,4",
"name":"iPhone SE"
},
{
"model":"iPhone9,1",
"name":"iPhone 7"
},
{
"model":"iPhone9,2",
"name":"iPhone 7 Plus"
},
{
"model":"iPhone9,3",
"name":"iPhone 7"
},
{
"model":"iPhone9,4",
"name":"iPhone 7 Plus"
},
{
"model":"iPhone10,1",
"name":"iPhone 8"
},
{
"model":"iPhone10,2",
"name":"iPhone 8 Plus"
},
{
"model":"iPhone10,4",
"name":"iPhone 8"
},
{
"model":"iPhone10,5",
"name":"iPhone 8 Plus"
},
{
"model":"iPhone10,3",
"name":"iPhone X"
},
{
"model":"iPhone10,6",
"name":"iPhone X"
},
{
"model":"iPhone11,2",
"name":"iPhone XS"
},
{
"model":"iPhone11,4",
"name":"iPhone XS Max"
},
{
"model":"iPhone11,6",
"name":"iPhone XS Max"
},
{
"model":"iPhone11,8",
"name":"iPhone XR"
},
{
"model":"iPhone12,1",
"name":"iPhone 11"
},
{
"model":"iPhone12,3",
"name":"iPhone 11 Pro"
},
{
"model":"iPhone12,5",
"name":"iPhone 11 Pro Max"
},
{
"model":"i386",
"name":"Simulator"
},
{
"model":"x86_64",
"name":"Simulator"
},
{
"model":"iPod1,1",
"name":"iPod Touch 1G"
},
{
"model":"iPod2,1",
"name":"iPod Touch 2G"
},
{
"model":"iPod3,1",
"name":"iPod Touch 3G"
},
{
"model":"iPod4,1",
"name":"iPod Touch 4G"
},
{
"model":"iPod5,1",
"name":"iPod Touch 5G"
},
{
"model":"iPad1,1",
"name":"iPad"
},
{
"model":"iPad1,2",
"name":"iPad 3G"
},
{
"model":"iPad2,1",
"name":"iPad 2"
},
{
"model":"iPad2,2",
"name":"iPad 2"
},
{
"model":"iPad2,3",
"name":"iPad 2"
},
{
"model":"iPad2,4",
"name":"iPad 2"
},
{
"model":"iPad2,5",
"name":"iPad Mini"
},
{
"model":"iPad2,6",
"name":"iPad Mini"
},
{
"model":"iPad2,7",
"name":"iPad Mini"
},
{
"model":"iPad3,1",
"name":"iPad 3"
},
{
"model":"iPad3,2",
"name":"iPad 3"
},
{
"model":"iPad3,3",
"name":"iPad 3"
},
{
"model":"iPad3,4",
"name":"iPad 4"
},
{
"model":"iPad3,5",
"name":"iPad 4"
},
{
"model":"iPad3,6",
"name":"iPad 4"
},
{
"model":"iPad4,1",
"name":"iPad Air"
},
{
"model":"iPad4,2",
"name":"iPad Air"
},
{
"model":"iPad4,4",
"name":"iPad Mini 2"
},
{
"model":"iPad4,5",
"name":"iPad Mini 2"
},
{
"model":"iPad4,6",
"name":"iPad Mini 2"
},
{
"model":"iPad4,7",
"name":"iPad Mini 3"
},
{
"model":"iPad4,8",
"name":"iPad Mini 3"
},
{
"model":"iPad4,9",
"name":"iPad Mini 3"
},
{
"model":"iPad5,1",
"name":"iPad Mini 4"
},
{
"model":"iPad5,2",
"name":"iPad Mini 4"
},
{
"model":"iPad5,3",
"name":"iPad Air 2"
},
{
"model":"iPad5,4",
"name":"iPad Air 2"
},
{
"model":"iPad6,3",
"name":"iPad Pro 9.7"
},
{
"model":"iPad6,4",
"name":"iPad Pro 9.7"
},
{
"model":"iPad6,7",
"name":"iPad Pro 12.9"
},
{
"model":"iPad6,8",
"name":"iPad Pro 12.9"
},
{
"model":"iPad6,11",
"name":"iPad 5"
},
{
"model":"iPad6,12",
"name":"iPad 5"
},
{
"model":"iPad7,1",
"name":"iPad Pro 12.9 inch 2nd gen"
},
{
"model":"iPad7,2",
"name":"iPad Pro 12.9 inch 2nd gen"
},
{
"model":"iPad7,3",
"name":"iPad Pro 10.5 inch"
},
{
"model":"iPad7,4",
"name":"iPad Pro 10.5 inch"
},
{
"model":"iPad8,1",
"name":"iPad Pro 11-inch"
},
{
"model":"iPad8,2",
"name":"iPad Pro 11-inch"
},
{
"model":"iPad8,3",
"name":"iPad Pro 11-inch"
},
{
"model":"iPad8,4",
"name":"iPad Pro 11-inch"
},
{
"model":"iPad8,5",
"name":"iPad Pro 12.9-inch"
},
{
"model":"iPad8,6",
"name":"iPad Pro 12.9-inch"
},
{
"model":"iPad8,7",
"name":"iPad Pro 12.9-inch"
},
{
"model":"iPad8,8",
"name":"iPad Pro 12.9-inch"
},
{
"model":"iPad11,1",
"name":"iPad Mini 5"
},
{
"model":"iPad11,2",
"name":"iPad Mini 5"
},
{
"model":"iPad11,3",
"name":"iPad Air 3"
},
{
"model":"iPad11,4",
"name":"iPad Air 3"
}
]
代码版本
为了方便程序员朋友使用,提供JavaScript版本的数组:
var iPhoneVendorName = [
{"model":"iPhone1,1","name":"iPhone"},
{"model":"iPhone1,2","name":"iPhone3GS"},
{"model":"iPhone3,2","name":"iPhone 4"},
{"model":"iPhone3,3","name":"iPhone 4"},
{"model":"iPhone4,1","name":"iPhone 4S"},
{"model":"iPhone5,1","name":"iPhone 5"},
{"model":"iPhone5,2","name":"iPhone 5"},
{"model":"iPhone5,3","name":"iPhone 5c"},
{"model":"iPhone5,4","name":"iPhone 5c"},
{"model":"iPhone6,1","name":"iPhone 5s"},
{"model":"iPhone6,2","name":"iPhone 5s"},
{"model":"iPhone7,1","name":"iPhone 6 Plus"},
{"model":"iPhone7,2","name":"iPhone 6"},
{"model":"iPhone8,1","name":"iPhone 6s"},
{"model":"iPhone8,2","name":"iPhone 6s Plus"},
{"model":"iPhone8,4","name":"iPhone SE"},
{"model":"iPhone9,1","name":"iPhone 7"},
{"model":"iPhone9,2","name":"iPhone 7 Plus"},
{"model":"iPhone9,3","name":"iPhone 7"},
{"model":"iPhone9,4","name":"iPhone 7 Plus"},
{"model":"iPhone10,1","name":"iPhone 8"},
{"model":"iPhone10,2","name":"iPhone 8 Plus"},
{"model":"iPhone10,4","name":"iPhone 8"},
{"model":"iPhone10,5","name":"iPhone 8 Plus"},
{"model":"iPhone10,3","name":"iPhone X"},
{"model":"iPhone10,6","name":"iPhone X"},
{"model":"iPhone11,2","name":"iPhone XS"},
{"model":"iPhone11,4","name":"iPhone XS Max"},
{"model":"iPhone11,6","name":"iPhone XS Max"},
{"model":"iPhone11,8","name":"iPhone XR"},
{"model":"iPhone12,1","name":"iPhone 11"},
{"model":"iPhone12,3","name":"iPhone 11 Pro"},
{"model":"iPhone12,5","name":"iPhone 11 Pro Max"},
{"model":"i386","name":"Simulator"},
{"model":"x86_64","name":"Simulator"},
{"model":"iPod1,1","name":"iPod Touch 1G"},
{"model":"iPod2,1","name":"iPod Touch 2G"},
{"model":"iPod3,1","name":"iPod Touch 3G"},
{"model":"iPod4,1","name":"iPod Touch 4G"},
{"model":"iPod5,1","name":"iPod Touch 5G"},
{"model":"iPad1,1","name":"iPad"},
{"model":"iPad1,2","name":"iPad 3G"},
{"model":"iPad2,1","name":"iPad 2"},
{"model":"iPad2,2","name":"iPad 2"},
{"model":"iPad2,3","name":"iPad 2"},
{"model":"iPad2,4","name":"iPad 2"},
{"model":"iPad2,5","name":"iPad Mini"},
{"model":"iPad2,6","name":"iPad Mini"},
{"model":"iPad2,7","name":"iPad Mini"},
{"model":"iPad3,1","name":"iPad 3"},
{"model":"iPad3,2","name":"iPad 3"},
{"model":"iPad3,3","name":"iPad 3"},
{"model":"iPad3,4","name":"iPad 4"},
{"model":"iPad3,5","name":"iPad 4"},
{"model":"iPad3,6","name":"iPad 4"},
{"model":"iPad4,1","name":"iPad Air"},
{"model":"iPad4,2","name":"iPad Air"},
{"model":"iPad4,4","name":"iPad Mini 2"},
{"model":"iPad4,5","name":"iPad Mini 2"},
{"model":"iPad4,6","name":"iPad Mini 2"},
{"model":"iPad4,7","name":"iPad Mini 3"},
{"model":"iPad4,8","name":"iPad Mini 3"},
{"model":"iPad4,9","name":"iPad Mini 3"},
{"model":"iPad5,1","name":"iPad Mini 4"},
{"model":"iPad5,2","name":"iPad Mini 4"},
{"model":"iPad5,3","name":"iPad Air 2"},
{"model":"iPad5,4","name":"iPad Air 2"},
{"model":"iPad6,3","name":"iPad Pro 9.7"},
{"model":"iPad6,4","name":"iPad Pro 9.7"},
{"model":"iPad6,7","name":"iPad Pro 12.9"},
{"model":"iPad6,8","name":"iPad Pro 12.9"},
{"model":"iPad6,11","name":"iPad 5"},
{"model":"iPad6,12","name":"iPad 5"},
{"model":"iPad7,1","name":"iPad Pro 12.9 inch 2nd gen"},
{"model":"iPad7,2","name":"iPad Pro 12.9 inch 2nd gen"},
{"model":"iPad7,3","name":"iPad Pro 10.5 inch"},
{"model":"iPad7,4","name":"iPad Pro 10.5 inch"},
{"model":"iPad8,1","name":"iPad Pro 11-inch"},
{"model":"iPad8,2","name":"iPad Pro 11-inch"},
{"model":"iPad8,3","name":"iPad Pro 11-inch"},
{"model":"iPad8,4","name":"iPad Pro 11-inch"},
{"model":"iPad8,5","name":"iPad Pro 12.9-inch"},
{"model":"iPad8,6","name":"iPad Pro 12.9-inch"},
{"model":"iPad8,7","name":"iPad Pro 12.9-inch"},
{"model":"iPad8,8","name":"iPad Pro 12.9-inch"},
{"model":"iPad11,1","name":"iPad Mini 5"},
{"model":"iPad11,2","name":"iPad Mini 5"},
{"model":"iPad11,3","name":"iPad Air 3"},
{"model":"iPad11,4","name":"iPad Air 3"}
]
function convertToIPhoneName(model){
for(var x in iPhoneVendorName){
if(iPhoneVendorName[x]["model"] == model){
return iPhoneVendorName[x]["name"]
}
}
return vendor
}