美文网首页
swift获取现在iOS版本

swift获取现在iOS版本

作者: 42chaos | 来源:发表于2016-09-13 16:38 被阅读21次

let iOSVersion : NSString = UIDevice.currentDevice().systemVersion  //iOS 版本

let identifierNumber = UIDevice.currentDevice().identifierForVendor  //设备 udid

let systemName = UIDevice.currentDevice().systemName  //设备名称

let model = UIDevice.currentDevice().model  //设备型号

let localizedModel = UIDevice.currentDevice().localizedModel  //设备区域化型号 如 A1533

相关文章

网友评论

      本文标题:swift获取现在iOS版本

      本文链接:https://www.haomeiwen.com/subject/uoimettx.html