简体   繁体   中英

IOS How can i get IDFA ? NOT import Adsupport.framework

I want to get the IDFA, but I don't want to import Adsupport.framework, because this results in my app being refused on the App Store.

Can I get the IDFA without importing Adsupport.framework?

I believe this is not possible . I tried to access the ASIdentifierManager class without linking the framework, but it doesn't work this way.

NSClassFromString(@"ASIdentifierManager"); // Nil

You might want to look into OpenIDFA . If you don't want to be rejected from the app store.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM