1.CFUUID
1 - (NSString *)cfuuid { 2 CFUUIDRef uuid_ref = CFUUIDCreate(kCFAllocatorDefault); 3 NSString *uuid = CFBridgingRelease(CFUUIDCreateString(kCFAllocatorDefault, uuid_ref)); 4 CFRelease(uuid_ref); 5 return uuid; 6 }
iOS5- UDID Unique Device Identifier NSString *udid = [[UIDevice currentDevice] uniqueIdentifier];
1)从iOS5.0(2011-08)开始,苹果宣布不再支持用uniqueIdentifier方法获取设备的UDID;
2)在2013-03-21日苹果通知开发者:从2013-05-01起,使用UDID的程序不再被审核通过;
UUID Universally Unique Identifier (CFUUID NSUUID)
OPEN UDID NSString *openUDID = [OpenUDID value];
iOS6+
IDFA-identifierForIdentifier NSString *adId = [[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString]
IDFV-identifierForVendor NSString *idfv = [[[UIDevice currentDevice] identifierForVendor] UUIDString];
iOS7+ MAC Address "02:00:00:00:00:00"
推送token + bundleid
KeyChain