获取iphone的系统信息使用[UIDevice currentDevice],信息例如以下:

[[UIDevice currentDevice] systemName]:系统名称,如iPhone OS

[[UIDevice currentDevice] systemVersion]:系统版本号。如iOS 8.0

[[UIDevice currentDevice] model]:The model of the device,如iPhone或者iPod touch

[[UIDevice currentDevice] uniqueIdentifier]:设备的惟一标识号,deviceID

[[UIDevice currentDevice] name]:设备的名称,如 张三的iPhone

[[UIDevice currentDevice] localizedModel]:The model of the device as a localized string,类似model

[UIDevice currentDevice].batteryState  设备的电池状态

[UIDevice currentDevice].batteryLevel  设备的电池充电状况

[UIDevice currentDevice].userInterfaceIdiom
 用户当前使用的设备,与model类似

最新文章

  1. 推荐13款javascript模板引擎
  2. JAVA读取TXT文件、新建TXT文件、写入TXT文件
  3. Knockoutjs 实践入门 (1) 属性绑定
  4. [Android]在代码混淆中关闭 Log
  5. Android布局
  6. [windows]禁止指定用户使用远程桌面服务登录
  7. uva----11729 Commando war (突击战争)
  8. HDU 2295 Radar dancing links 重复覆盖
  9. ES5中数组新增的方法说明
  10. python3.4控制用户输入与输出
  11. JavaScript事件处理
  12. cocos2d_android 瞬间动作
  13. NSCondition用法
  14. Delphi基础-数据类型
  15. Android高级控件(四)——VideoView 实现引导页播放视频欢迎效果,超级简单却十分的炫酷
  16. RTMPdump(libRTMP) 源代码分析 9: 接收消息(Message)(接收视音频数据)
  17. CentOS 安装 ceph 单机版
  18. 解决 AutoMapper ProjectTo 不起作用的问题
  19. 算法:输入一个链表,输出该链表中倒数第k个结点。
  20. 解决Windows下Tomcat控制台中文乱码

热门文章

  1. luogu2764 最小路径覆盖问题
  2. web安全测试---AppScan扫描工具(转)
  3. 【转】基于 Apache 在本地配置多个虚拟主机
  4. Python文件处理、函数的基本应用
  5. 顺序表ans链性表
  6. 【转】Unicode utf8等编码类型的原理
  7. Welcome-to-Swift-04集合类型(Collection Types)
  8. [LOJ#2255][BZOJ5017][Snoi2017]炸弹
  9. POJ3349 Snowflake Snow Snowflakes 【哈希表】
  10. poj3728The merchant