获取 Iphone 手机信息
2015-08-14 16:30
387 查看
NSUUID* identifierNumber = [[UIDevice currentDevice] identifierForVendor]; NSLog(@"手机序列号: %@",identifierNumber); //手机别名: 用户定义的名称 NSString* userPhoneName = [[UIDevice currentDevice] name]; NSLog(@"手机别名: %@", userPhoneName); //设备名称 NSString* deviceName = [[UIDevice currentDevice] systemName]; NSLog(@"设备名称: %@",deviceName ); //手机系统版本 NSString* phoneVersion = [[UIDevice currentDevice] systemVersion]; NSLog(@"手机系统版本: %@", phoneVersion); //手机型号 NSString* phoneModel = [[UIDevice currentDevice] model]; NSLog(@"手机型号: %@",phoneModel ); //地方型号 (国际化区域名称) NSString* localPhoneModel = [[UIDevice currentDevice] localizedModel]; NSLog(@"国际化区域名称: %@",localPhoneModel );
相关文章推荐
- Yandex.Algorithm Online Round 3 Sunday, June 15, 2014
- 在OpenResty中使用淘宝的concat进行css和js合并,同时支持GZIP静态压缩
- Android自定义View画曲线
- 一个不错的关于mysql和posgresql比较的帖子
- C++14系列(2):C/C++的时间函数
- PAT 1033. To Fill or Not to Fill (25)
- Leetcode 210 Course Schedule II 课程表II
- SQL当前的进程信息,当前的执行语句
- 验证签名
- AMD驱动安装
- 组件布局
- 确定比赛名次 HDU杭电1285 【拓扑排序】
- Tomcat6配置数据源
- 第一章 自动引用计数
- 在linux下编译线程程序undefined reference to `pthread_create'
- 开发常用工具
- Leetcode#32||Longest Valid Parentheses
- ARM CMSIS DAP源码分析(二)
- 调试js常用的console方法
- nodejs+nginx+mongdb+redis安装学习笔记(之nginx安装)