I am using iAd in one of my iphone app's and sometimes when it cant load it goes off screen and this is the code im using:
-(void)bannerView:(ADBannerView *)aBanner didFailToReceiveAdWithError:(NSError *)error {
if (!self.bannerIsVisible) {
[UIView beginAnimations:@"animatedAdBannerOff" context:NULL];
banner.frame = CGRectOffset(banner.frame, 0.0, -320.0);
[UIView commitAnimations];
self.bannerIsVisible = NO;
}
The thing is when it doesent load there is just a white space, how would I write like a label error ad could not load, or something like that??? thanks