IOS成长之路-获取设备的信息
2012-11-14 19:27
447 查看
NSLog(@"globallyUniqueString=%@",[[NSProcessInfo processInfo] globallyUniqueString]);//全球唯一标识 NSLog(@"uniqueIdentifie=%@",[UIDevice currentDevice].uniqueIdentifier);//唯一的标识 可用于区分设备 NSLog(@"name=%@",[UIDevice currentDevice].name);//设备的名称 李四的 iPad、王五的 iPad .。。 NSLog(@"systemName=%@",[UIDevice currentDevice].systemName);//系统的名称 iPhone OS NSLog(@"systemVersion=%@",[UIDevice currentDevice].systemVersion);//设备系统的版本号 5.1.1、6.0 NSLog(@"model=%@",[UIDevice currentDevice].model);//设备的型号 iPad、iphone、ipod touch。。。 NSLog(@"localizedModel=%@",[UIDevice currentDevice].localizedModel);//本地化的模型 iPad NSLog(@"batteryLevel=%lf",[UIDevice currentDevice].batteryLevel);//电池电量
相关文章推荐
- IOS成长之路-获取设备的信息
- IOS成长之路-获取设备的信息
- ios获取设备信息总结
- iOS 获取设备系统信息
- ios获取设备信息总结
- iOS各种设备信息获取总结
- 尽可能多的获取ios设备的信息
- iOS 获取设备的各种信息
- 获取iOS设备信息(内存/电量/容量/型号/IP地址/当前WIFI名称)
- 获取iOS设备信息(内存/电量/容量/型号/IP地址/当前WIFI名称)
- 获取ios设备信息的简要总结
- 获取ios设备信息
- iOS开发-Object-C获取手机设备信息(UIDevice)
- 史上最全的iOS各种设备信息获取总结
- iOS 获取手机设备型号等相关信息
- iOS —— 设备信息获取
- iOS获取屏幕宽高、设备型号、系统版本信息
- 获取iOS设备信息(内存/电量/容量/型号/IP地址/当前WIFI名称)
- IOS 设备信息和系统信息获取大全
- iOS中获取设备数据以及如何获取应用信息之UIDevice的用法