+(NSString*) getIdfa { if (IOS_6_OR_LATER) { NSString *adId =[[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString]; NSLog(@"getIdfa = %@", adId); return adId; } else return nil;}
本文共 282 字,大约阅读时间需要 1 分钟。
+(NSString*) getIdfa { if (IOS_6_OR_LATER) { NSString *adId =[[[ASIdentifierManager sharedManager] advertisingIdentifier] UUIDString]; NSLog(@"getIdfa = %@", adId); return adId; } else return nil;}
转载于:https://www.cnblogs.com/zhhl/p/7542379.html