[UIDevice currentDevice]
可以是什么,例如uniqueIdentifier?谢谢!
最佳答案
UIDevice Class Reference中描述了与UIDevice对象关联的所有属性和方法。
要访问唯一标识符,您可以执行以下操作:
NSString *identifier = [[UIDevice currentDevice] uniqueIdentifier];
[UIDevice currentDevice]
可以是什么,例如uniqueIdentifier?谢谢!
最佳答案
UIDevice Class Reference中描述了与UIDevice对象关联的所有属性和方法。
要访问唯一标识符,您可以执行以下操作:
NSString *identifier = [[UIDevice currentDevice] uniqueIdentifier];