获取设备唯一标识


  _currentDeviceID = [[self getDeviceID] UUIDString];

 

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

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

 
posted @ 2014-12-10 17:10  梅西121  阅读(216)  评论(0编辑  收藏  举报