idfa与idfv值的变化

NSString *idfa = [ASIdentifierManager sharedManager].advertisingIdentifier.UUIDString;

NSLog(@"uuid == %@",idfa);

1.     idfa == 40879ADB-E3E8-4FD4-BE28-86DF97532DC7 //删除APP后值不会变

2.   idfa == F46F1D35-BE54-41C7-B174-B332D4F0A871 //重置后变化了

3.   idfa == 00000000-0000-0000-0000-000000000000 //关闭广告 开启后值不变

NSString *idfv = [[[UIDevice currentDevice] identifierForVendor] UUIDString];

NSLog(@"idfv == %@",idfv);

1. idfv == 7244DCA8-BFB0-4A45-AD56-BA9B886F7976

2. idfv == 11D47793-BC0F-4446-B891-6E42E0697BA9  //删除APP后会变化

你可能感兴趣的:(idfa与idfv值的变化)