获取设备唯一标识


  _currentDeviceID = [[self getDeviceID] UUIDString];

// 1、获取设备唯一标识:

- (NSUUID*) getDeviceID
{
    UIDevice *device = [UIDevice currentDevice];
    return device.identifierForVendor;
}

 
原文地址:https://www.cnblogs.com/huangh/p/4155914.html