iOS获取设备信息的方法
来源:互联网 发布:php fstat 编辑:程序博客网 时间:2024/04/30 14:01
//手机序列号
NSString* identifierNumber = [[UIDevice currentDevice] uniqueIdentifier];
NSLog(@"手机序列号: %@",identifierNumber);
//手机别名: 用户定义的名称
NSString* userPhoneName = [[UIDevice currentDevice] name];
NSLog(@"手机别名: %@", userPhoneName);
//设备名称
NSString* deviceName = [[UIDevice currentDevice] systemName];
NSLog(@"设备名称: %@",deviceName );
//手机型号
NSString* phoneModel = [[UIDevice currentDevice] model];
NSLog(@"手机型号: %@",phoneModel );
//地方型号 (国际化区域名称)
NSString* localPhoneModel = [[UIDevice currentDevice] localizedModel];
NSLog(@"国际化区域名称: %@",localPhoneModel );
NSDictionary *infoDictionary = [[NSBundle mainBundle] infoDictionary];
// 当前应用名称
NSString *appCurName = [infoDictionary objectForKey:@"CFBundleDisplayName"];
NSLog(@"当前应用名称:%@",appCurName);
//手机系统版本
NSString* phoneVersion = [[UIDevice currentDevice] systemVersion];
NSLog(@"手机系统版本: %@", phoneVersion);
// 当前应用软件版本
NSString *appCurVersion = [infoDictionary objectForKey:@"CFBundleShortVersionString"];
NSLog(@"当前应用软件版本:%@",appCurVersion);
- iOS获取设备信息的方法
- ios获取设备信息方法
- [iOS]iOS获取设备信息常用方法
- IOS 获取设备的信息
- iOS设备信息的获取
- 获取iOS设备的信息
- IOS中一些常用的获取设备信息的方法
- 二,iOS部分获取设备信息的方法
- 获取ios设备信息
- ios 获取设备信息
- 获取iOS设备信息
- IOS获取设备信息
- iOS获取设备信息
- 获取iOS设备信息
- 获取iOS设备信息
- iOS 设备信息获取
- iOS 获取设备信息
- iOS 获取设备信息
- MATCOM在VC++与MATLAB混合编程中的应用
- IOS面试题之--C面试题指针
- jsp学习小结
- 解决布局点击事件穿透的问题
- 第三章 6题(字母大小写转换)
- iOS获取设备信息的方法
- Notepad++不保存打开历史与查找替换历史的方法
- JQuery easyui中插件的相关知识汇总-不定时更新
- ORACLE存储过程和包管理(导出包内容,查询用到了哪些表等)
- 程序员最应该读的30本书
- 【分享】最新版PLSQL下载地址
- Spring transaction propagation
- nodejs 获取url中json格式的参数
- vim 使用正则表达式