larsacus / LARSAdController

Lightweight ad mediation for iOS to properly manage multiple ad networks dynamically including iAd and Google ads.
http://theonlylars.com/blog/2013/01/10/stupid-easy-ads-with-larsadcontroller-3-dot-0/
MIT License
269 stars 60 forks source link

How to unregister AdClass? #43

Closed fangchih closed 11 years ago

fangchih commented 11 years ago

Hi Lars,

Now I am using [[LARSAdController sharedManager] registerAdClass:[TOLAdAdapteriAds class]]; to register a adapter, is it possible to unregister it and clear all related resources?

BTW, I found GADRequest will conflict with HTML5 audio process, that's also why I wanna release related resource manually to see if I can solve this problem.

thanks.

larsacus commented 11 years ago

There is currently no way to "unregister" an ad class. You can destroy all ads using [[LARSAdController sharedManager] destroyAllAdBanners].

I'm also not sure what you mean by "GADRequest will conflict with HTML 5 audio process". I don't have any control over google's code.

fangchih commented 11 years ago

Understand with thanks, I still finding out the root cause of audio issue, I know it is not related to controller.

I also tried destoryalladbanners, but after that, I cannot register or display ad again.

Andersen.

Lars Anderson notifications@github.com ©ó 2013/5/7 21:41 ¼g¹D¡G

There is currently no way to "unregister" an ad class. You can destroy all ads using [[LARSAdController sharedManager] destroyAllAdBanners].

I'm also not sure what you mean by "GADRequest will conflict with HTML 5 audio process". I don't have any control over google's code.

¡X Reply to this email directly or view it on GitHub.

larsacus commented 11 years ago

I'd be happy to accept a pull request, but nobody has ever really expressed any interest or need to unregister adapters.

fangchih commented 11 years ago

i see, thanks. 2013-5-9 上午2:38 於 "Lars Anderson" notifications@github.com 寫道:

I'd be happy to accept a pull request, but nobody has ever really expressed any interest or need to unregister adapters.

— Reply to this email directly or view it on GitHubhttps://github.com/larsacus/LARSAdController/issues/43#issuecomment-17625284 .