+(NSString*) getIdfa { if (IOS_6_OR_LATER) { NSString *adId =[[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString]; NSLog(@"getIdfa = %@", adId); return adId; } else return nil; }
时间: 2025-01-07 16:52:27
+(NSString*) getIdfa { if (IOS_6_OR_LATER) { NSString *adId =[[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString]; NSLog(@"getIdfa = %@", adId); return adId; } else return nil; }