问题
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