获取IDFA #ios #import <AdSupport/AdSupport.h> NSString *strIDFA = [[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString]; NSLog(@"IDFA: %@", strIDFA);