博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
得到ios设备的一些信息
阅读量:7223 次
发布时间:2019-06-29

本文共 564 字,大约阅读时间需要 1 分钟。

UIDevice *currentDevice = [UIDevicecurrentDevice];

    

    NSLog(@"Device's name = %@",currentDevice.name);

    NSLog(@"Device's identifierForVendor = %@",currentDevice.identifierForVendor);

    NSLog(@"Device's uniqueIdentifier = %@",currentDevice.uniqueIdentifier);

    NSLog(@"Device's model = %@",currentDevice.model);

    NSLog(@"Device's localizedModel = %@",currentDevice.localizedModel);

    NSLog(@"Device's systemName = %@",currentDevice.systemName);

    NSLog(@"Device's systemVersion = %@",currentDevice.systemVersion);

    

转载于:https://www.cnblogs.com/sell/archive/2012/12/27/2835588.html

你可能感兴趣的文章
Android应用程序的生命周期
查看>>
Servlet获取Spring bean
查看>>
图元的属性---OpenGL字符属性函数
查看>>
was6.1在linux(redhat5)上静默安装与常见问题解决
查看>>
ssh-keygen 免交互 ssh首次交互免输入yes
查看>>
ssh通道连接数据库问题
查看>>
ansible使用playbook批量添加用户
查看>>
通过adb命令启动的app
查看>>
【Apollo播放器】源码分析之图片加载模式
查看>>
linux mint 19.0 partition
查看>>
docker 新手向 - 防止容器自动退出的解决方案
查看>>
Linux 内核模块 HOOK 系统调用的 demo
查看>>
小黑小波比.解决执行完代码,带指定的参数值重新加载页面
查看>>
Linux下的UDP/TCP端口映射(netcat and socat)
查看>>
Linux(Centos6.5)下如何解压.zip和.rar文件
查看>>
清理k8s集群小记(只针对自己的集群)
查看>>
印象笔记·剪藏
查看>>
一步一步在Windows下搭建React Native Android开发环境
查看>>
Gentoo:existing preserved libs问题
查看>>
Linux 常用操作
查看>>