[关闭]
@khan-lau 2015-03-31T12:32:26.000000Z 字数 1760 阅读 1889

ios设备识别

iOS 编程


  1. -(NSDictionary*)deviceModelDataForMachineIDs {
  2. return @{
  3. //iPad.
  4. @"iPad1,1" : @[ @"iPad 1G", @"Wi-Fi / GSM", @"A1219 / A1337" ],
  5. @"iPad2,1" : @[ @"iPad 2", @"Wi-Fi", @"A1395" ],
  6. @"iPad2,2" : @[ @"iPad 2", @"GSM", @"A1396" ],
  7. @"iPad2,3" : @[ @"iPad 2", @"CDMA", @"A1397" ],
  8. @"iPad2,4" : @[ @"iPad 2", @"Wi-Fi Rev A", @"A1395" ],
  9. @"iPad2,5" : @[ @"iPad mini 1G", @"Wi-Fi", @"A1432" ],
  10. @"iPad2,6" : @[ @"iPad mini 1G", @"GSM", @"A1454" ],
  11. @"iPad2,7" : @[ @"iPad mini 1G", @"GSM+CDMA", @"A1455" ],
  12. @"iPad3,1" : @[ @"iPad 3", @"Wi-Fi", @"A1416" ],
  13. @"iPad3,2" : @[ @"iPad 3", @"GSM+CDMA", @"A1403" ],
  14. @"iPad3,3" : @[ @"iPad 3", @"GSM", @"A1430" ],
  15. @"iPad3,4" : @[ @"iPad 4", @"Wi-Fi", @"A1458" ],
  16. @"iPad3,5" : @[ @"iPad 4", @"GSM", @"A1459" ],
  17. @"iPad3,6" : @[ @"iPad 4", @"GSM+CDMA", @"A1460" ],
  18. @"iPad4,1" : @[ @"iPad Air", @"Wi‑Fi", @"A1474" ],
  19. @"iPad4,2" : @[ @"iPad Air", @"Cellular", @"A1475" ],
  20. @"iPad4,4" : @[ @"iPad mini 2G", @"Wi‑Fi", @"A1489" ],
  21. @"iPad4,5" : @[ @"iPad mini 2G", @"Cellular", @"A1517" ],
  22. //iPhone.
  23. @"iPhone1,1" : @[ @"iPhone 2G", @"GSM", @"A1203" ],
  24. @"iPhone1,2" : @[ @"iPhone 3G", @"GSM", @"A1241 / A13241" ],
  25. @"iPhone2,1" : @[ @"iPhone 3GS", @"GSM", @"A1303 / A13251" ],
  26. @"iPhone3,1" : @[ @"iPhone 4", @"GSM", @"A1332" ],
  27. @"iPhone3,2" : @[ @"iPhone 4", @"GSM Rev A", @"-" ],
  28. @"iPhone3,3" : @[ @"iPhone 4", @"CDMA", @"A1349" ],
  29. @"iPhone4,1" : @[ @"iPhone 4S", @"GSM+CDMA", @"A1387 / A14311" ],
  30. @"iPhone5,1" : @[ @"iPhone 5", @"GSM", @"A1428" ],
  31. @"iPhone5,2" : @[ @"iPhone 5", @"GSM+CDMA", @"A1429 / A14421" ],
  32. @"iPhone5,3" : @[ @"iPhone 5C", @"GSM", @"A1456 / A1532" ],
  33. @"iPhone5,4" : @[ @"iPhone 5C", @"Global", @"A1507 / A1516 / A1526 / A1529" ],
  34. @"iPhone6,1" : @[ @"iPhone 5S", @"GSM", @"A1433 / A1533" ],
  35. @"iPhone6,2" : @[ @"iPhone 5S", @"Global", @"A1457 / A1518 / A1528 / A1530" ],
  36. //iPod.
  37. @"iPod1,1" : @[ @"iPod touch 1G", @"-", @"A1213" ],
  38. @"iPod2,1" : @[ @"iPod touch 2G", @"-", @"A1288" ],
  39. @"iPod3,1" : @[ @"iPod touch 3G", @"-", @"A1318" ],
  40. @"iPod4,1" : @[ @"iPod touch 4G", @"-", @"A1367" ],
  41. @"iPod5,1" : @[ @"iPod touch 5G", @"-", @"A1421 / A1509" ]
  42. };
  43. }
添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注