在项目中写上以下代码,可以获取iOS设备的UUID
UIDevice *device = [UIDevice currentDevice];
NSUUID *uuid = device.identifierForVendor;
NSString *str = uuid.UUIDString;
NSLog(@"UUIDString%@",str);
在项目中写上以下代码,可以获取iOS设备的UUID
UIDevice *device = [UIDevice currentDevice];
NSUUID *uuid = device.identifierForVendor;
NSString *str = uuid.UUIDString;
NSLog(@"UUIDString%@",str);