Life Stories for iPhone

I just started playing around with Objective-C for the Life Stories version in iOS 4.Then as usual, for newbies, I encountered a problem when displaying adView. Basically the problem is that when your view changed, like you hit the back button or change to another view, while your adview is still loading, the call to - (void)bannerViewDidLoadAd:(ADBannerView *)banner and - (void)bannerView:(ADBannerView *)banner didFailToReceiveAdWithError:(NSError *)error which ever is called will fail. Searching around the net, I found this StackOverFlow question and the solution helped me to fix my problem.http://stackoverflow.com/questions/3359714/wierd-iad-error-causing-crashSo the solution is just to just remove the delegate of the adView and null its reference on the - (void)dealloc method.adView.delegate = nil;adView = nil;