IOS IDFA获取

1.导入AdSupport.framework
2.添加代码

NSString *adid = [[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString];
NSLog(@"%@",adid);

你可能感兴趣的:(IOS IDFA获取)