I also find that I can get uniqueIdentifier using:
UIDevice *myDevice = [UIDevice currentDevice];
NSString *identifier = myDevice.uniqueIdentifier;
本文介绍了一种在iOS应用中获取设备唯一标识符的方法。通过使用UIDevice类的currentDevice方法来获得当前设备实例,并进一步调用uniqueIdentifier属性来获取设备的唯一标识。
I also find that I can get uniqueIdentifier using:
UIDevice *myDevice = [UIDevice currentDevice];
NSString *identifier = myDevice.uniqueIdentifier;

被折叠的 条评论
为什么被折叠?