Vazamento de memória da AdMob no iOS?
Eu comecei a usarAdMob
mas notei que, depois de executá-lo por cerca de uma hora, ele acumula 50 MB! Caramba. Pensei em liberá-lo, mas não posso, pois estou usandoARC
. Alguma ideia? Estou usando o código de introdução fornecido pelo google:
GADBannerView *bannerView_ = [[GADBannerView alloc] initWithAdSize:kGADAdSizeBanner];
CGRect newFrame = CGRectMake(self.scroller.frame.origin.x,self.scroller.frame.origin.y + 70,self.scroller.frame.size.width,self.scroller.frame.size.height);
[self.scroller setFrame:newFrame];
bannerView_.adUnitID = @"XXXXX";
bannerView_.rootViewController = self;
[bannerView_ setFrame:CGRectMake(0,
20,
bannerView_.bounds.size.width,
bannerView_.bounds.size.height)];
[self.view addSubview:bannerView_];
[bannerView_ loadRequest:[GADRequest request]];