kiss007

[UIDevice currentDevice] uniqueIdentifier];  UUID苹果己经禁用

//新的UUID生成,随机生成,用于唯一标识,需要保存

 

-(NSString*) uuid {

    CFUUIDRef puuid = CFUUIDCreatekCFAllocatorSystemDefault );

    CFStringRef uuidString = CFUUIDCreateStringnil, puuid );

    NSString * result = (NSString *)CFStringCreateCopyNULL, uuidString);

    CFRelease(puuid);

    CFRelease(uuidString);

    return [result autorelease];

}

 

//UUID,ios6.0后支持,随机生成,用于唯一标识,需要保存

[[UIDevice currentDeviceidentifierForVendor]

AdSupport.framework 

[[ASIdentifierManager sharedManageradvertisingIdentifier]; 不在设置里修改限制广告跟踪时,唯

ODIN1

通过MAC地址生成的唯一标识

http://code.google.com/p/odinmobile/

分类:

技术点:

相关文章: