iAds are leaking memory

最后都变了- 提交于 2019-12-13 00:32:19

问题


I recently implemented iads by following the WWDC video. However, while testing with leaks I found that my ads were leaking. I heard that this is a known problem with iads. Someone mentioned that releasing the banner in viewDidUnload might help but that didn't work for me... Does anyone know any way around these leaks? Even though the leaks are pretty small, I have many view controllers displaying them throughout my app and the leaks quickly add up


回答1:


I noticed a few people saying that there was a leak because the iAd wasn't being released. Check the following:

iAd UIImageView memory leak

http://www.iphonedevsdk.com/forum/iphone-sdk-development/54834-iad-memory-leaks.html



来源:https://stackoverflow.com/questions/3571579/iads-are-leaking-memory

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!