swift获取现在iOS版本
2016-09-13 本文已影响21人
42chaos
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