什么可以与[UIDevice currentDevice]一起使用? [英] What can be used with [UIDevice currentDevice]?

查看:141
本文介绍了什么可以与[UIDevice currentDevice]一起使用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

[UIDevice currentDevice] 可以使用什么,例如uniqueIdentifier?谢谢!

What can be with [UIDevice currentDevice], such as uniqueIdentifier? Thanks!

推荐答案

UIDevice Class Reference

要访问Unique Identifer,您可以执行以下操作:

To access the Unique Identifer, you can do something like:

NSString *identifier = [[UIDevice currentDevice] uniqueIdentifier];

这篇关于什么可以与[UIDevice currentDevice]一起使用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆