iPhone机型尺寸信息列表

在iOS开发中跟设备相关的信息是UIDevice类,通过[UIDevice currentDevice]单例,我们可以获取到设备的如下信息:

  • 设备名称(name):关于设置->关于本机->名称,该名称可以自定修改;
  • 设备型号(model):Apple内部维护的型号,比如iPhone10,3;
  • 系统名称(systemName):如iOS
  • 系统版本号(systemVersion):如11.0
  • 屏幕朝向(orientation):UIDeviceOrientationPortraithome键在底部
  • 电池状态(batteryState)/电池电量(batteryLevel)
  • 等等

在实际开发中,比如我们需要收集错误日志、用户设备等信息的时候,我们出了需要知道这个设备的操作系统版本,通常还需要对应到事哪一款设备,即需要跟iPhone的产品名称iPhone 8iPhone X对应起来,才能更便捷的定位问题。

但是通过如上UIDevice的属性,我们能够找到model属性事跟设备密切相关的,他跟iPhone的产品名称有一个对应关系,具体如下:

http://theiphonewiki.com/wiki/Models 这个网站上也有最新的数据,在我的开源框架NXKit的device.json文件中有完整的数据,并保持同步更新。

首发时间 内部id 产品名称 屏幕分辨率 其他
2007.1 iPhone1,1 iPhone 1G 320x480 -
2008.6 iPhone1,2 iPhone 3G 320x480 -
2009.6 iPhone2,1 iPhone 3GS 320x480 -
2010.6 iPhone3,1 iPhone 4 (GSM) 640x960 -
2010.6 iPhone3,2 iPhone 4 640x960 -
2010.9 iPhone3,3 iPhone 4 (CDMA) 640x960 -
2011.9 iPhone4,1 iPhone 4S 640x960 -
2012.9 iPhone5,1 iPhone 5 640x1136 -
2012.9 iPhone5,2 iPhone 5 640x1136 -
2013.9 iPhone5,3 iPhone 5c 640x1136 -
2013.9 iPhone5,4 iPhone 5c 640x1136 -
2013.9 iPhone6,1 iPhone 5s 640x1136 -
2013.9 iPhone6,2 iPhone 5s 640x1136 -
2014.9 iPhone7,1 iPhone 6 Plus 1080x1920 -
2014.9 iPhone7,2 iPhone 6 750x1334 -
2015.9 iPhone8,1 iPhone 6s 750x1334 -
2015.9 iPhone8,2 iPhone 6s Plus 1080x1920 -
2016.3 iPhone8,4 iPhone SE (1st generation) 750x1334 -
2016.9 iPhone9,1 iPhone 7 750x1334 -
2016.9 iPhone9,2 iPhone 7 Plus 1080x1920 -
2016.9 iPhone9,3 iPhone 7 750x1334 -
2016.9 iPhone9,4 iPhone 7 Plus 1080x1920 -
2017.9 iPhone10,1 iPhone 8 750x1334 -
2017.9 iPhone10,2 iPhone 8 Plus 1080x1920 -
2017.9 iPhone10,3 iPhone X 1125x2436 -
2017.9 iPhone10,4 iPhone 8 750x1334 -
2017.9 iPhone10,5 iPhone 8Plus 1080x1920 -
2017.9 iPhone10,6 iPhone X 1125x2436 -
2018.9 iPhone11,2 iPhone XS 1125x2436 -
2018.9 iPhone11,4 iPhone XS Max 1242x2688 -
2018.9 iPhone11,6 iPhone XS Max 1242x2688 -
2018.9 iPhone11,8 iPhone XR 828x1792 -
2019.9 iPhone12,1 iPhone 11 828x1792 -
2019.9 iPhone12,3 iPhone 11 Pro 1125x2436 -
2019.9 iPhone12,5 iPhone 11 Pro Max 1242x2688 -
2020.4 iPhone12,8 iPhone SE (2nd generation) 750x1334 -
2020.9 iPhone13,1 iPhone 12 mini 1080x2340 -
2020.9 iPhone13,2 iPhone 12 1170x2532 -
2020.9 iPhone13,3 iPhone 12 Pro 1170x2532 -
2020.9 iPhone13,4 iPhone 12 Pro Max 1284x2778 -
2021.9 iPhone14,4 iPhone 13 mini 1080x2340 -
2021.9 iPhone14,5 iPhone 13 1170x2532 -
2021.9 iPhone14,2 iPhone 13 Pro 1170x2532 -
2021.9 iPhone14,3 iPhone 13 Pro Max 1284x2778 -
- iPad1,1 iPad 1 - -
- iPad2,1 iPad 2 - -
- iPad2,2 iPad 2 - -
- iPad2,3 iPad 2 - -
- iPad2,4 iPad 2 - -
- iPad3,1 iPad (3th generation) - -
- iPad3,2 iPad (3th generation) - -
- iPad3,3 iPad (3th generation) - -
- iPad3,4 iPad (4th generation) - -
- iPad3,5 iPad (4th generation) - -
- iPad3,6 iPad (4th generation) - -
- iPad6,11 iPad (5th generation) - -
- iPad6,12 iPad (5th generation) - -
- iPad7,5 iPad (6th generation) - -
- iPad7,6 iPad (6th generation) - -
- iPad7,11 iPad (7th generation) - -
- iPad7,12 iPad (7th generation) - -
- iPad11,6 iPad (8th generation) - -
- iPad11,7 iPad (8th generation) - -
- iPad12,1 iPad (9th generation) - -
- iPad12,2 iPad (9th generation) - -
- iPad4,1 iPad Air - -
- iPad4,2 iPad Air - -
- iPad4,3 iPad Air - -
- iPad5,3 iPad Air 2 - -
- iPad5,4 iPad Air 2 - -
- iPad11,3 iPad Air (3th generation) - -
- iPad11,4 iPad Air (3th generation) - -
- iPad13,1 iPad Air (4th generation) - -
- iPad13,2 iPad Air (4th generation) - -
- iPad6,7 iPad Pro (12.9 inch) - -
- iPad6,8 iPad Pro (12.9 inch) - -
- iPad6,3 iPad Pro (9.7 inch) - -
- iPad6,4 iPad Pro (9.7 inch) - -
- iPad7,1 iPad Pro (12.9-inch)(2nd generation) - -
- iPad7,2 iPad Pro (12.9-inch)(2nd generation) - -
- iPad7,3 iPad Pro (10.5-inch) - -
- iPad7,4 iPad Pro (10.5-inch) - -
- iPad8,1 iPad Pro (11-inch) - -
- iPad8,2 iPad Pro (11-inch) - -
- iPad8,3 iPad Pro (11-inch) - -
- iPad8,4 iPad Pro (11-inch) - -
- iPad8,5 iPad Pro (12.9-inch)(3th generation) - -
- iPad8,6 iPad Pro (12.9-inch)(3th generation) - -
- iPad8,7 iPad Pro (12.9-inch)(3th generation) - -
- iPad8,8 iPad Pro (12.9-inch)(3th generation) - -
- iPad8,9 iPad Pro (11-inch)(2nd generation) - -
- iPad8,10 iPad Pro (11-inch)(2nd generation) - -
- iPad8,11 iPad Pro (12.9-inch)(4th generation) - -
- iPad8,12 iPad Pro (12.9-inch)(4th generation) - -
- iPad13,4 iPad Pro (11-inch)(3th generation) - -
- iPad13,5 iPad Pro (11-inch)(3th generation) - -
- iPad13,6 iPad Pro (11-inch)(3th generation) - -
- iPad13,7 iPad Pro (11-inch)(3th generation) - -
- iPad13,8 iPad Pro (12.9-inch)(5th generation) - -
- iPad13,9 iPad Pro (12.9-inch)(5th generation) - -
- iPad13,10 iPad Pro (12.9-inch)(5th generation) - -
- iPad13,11 iPad Pro (12.9-inch)(5th generation) - -
- iPad2,5 iPad mini - -
- iPad2,6 iPad mini - -
- iPad2,7 iPad mini - -
- 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 - -
- iPad11,1 iPad mini (5th generation) - -
- iPad11,2 iPad mini (5th generation) - -
- iPad14,1 iPad mini (6th generation) - -
- iPad14,2 iPad mini (6th generation) - -
- i386 Simulator x86 - -
- x86_64 Simulator x64 - -
最后编辑于
©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容