iOS常用设备信息获取

来源:互联网 发布:嘉实优化红利股票基金 编辑:程序博客网 时间:2024/05/30 22:57
<pre name="code" class="objc">//常用的NSString *strName = [[UIDevice currentDevice] name]; 获得设备名称NSString *strId = [[UIDevice currentDevice] uniqueIdentifier];    //版本号NSString *strSysVersion = [[UIDevice currentDevice] systemVersion]; //设备模式 NSString *strModel = [[UIDevice currentDevice] model];       


                                             
0 0
原创粉丝点击