_currentDeviceID = [[self getDeviceID] UUIDString];
// 1、获取设备唯一标识:
- (NSUUID*) getDeviceID
{
UIDevice *device = [UIDevice currentDevice];
return device.identifierForVendor;
}
时间: 2024-11-08 10:28:23
_currentDeviceID = [[self getDeviceID] UUIDString];
// 1、获取设备唯一标识:
- (NSUUID*) getDeviceID
{
UIDevice *device = [UIDevice currentDevice];
return device.identifierForVendor;
}