1. 首页
  2. 数据库
  3. 其它
  4. AssistantKit:检测iOS设备属性操作系统版本和使用屏幕尺寸的简便方法。 由Swift提供支持 源码

AssistantKit:检测iOS设备属性操作系统版本和使用屏幕尺寸的简便方法。 由Swift提供支持 源码

上传者: 2021-04-20 01:09:00上传 ZIP文件 67KB 热度 1次
检测设备环境的简便方法: 有利于: 安装 可通过获得 。 要安装它,只需将以下行添加到您的Podfile中: pod "AssistantKit" 用法 设备版本信息 要获取当前设备类型,请使用: let device = Device. type switch device { case . phone : print ( " iPhone " ) case . pad : print ( " iPad " ) case . pod : print ( " iPod " ) case . simulator : print ( " Simulato
下载地址
用户评论