I'd like to occasionally hide an ADBannerView
. I'm thinking about banner.hidden = YES
and similar to un-hide. I'm concerned that Apple will frown upon this because receiving and "displaying" ads while the banner is hidden seems questionable.
In bannerView:didFailToReceiveAdWithError:
I'm animating the banner off the screen bottom. I'm open to doing this instead of using the hidden property if it's somehow better.
Perhaps it's possible to tell the banner to stop requesting ads. Unfortunately nothing jumped out at me while looking over ADBannerView.h
.
What's the best way to programatically hide ADBannerView
?
The way to tell a banner view to stop receiving ads is to destroy it when not needed, as stated in the iAd Programming Guide [with bold emphasis added by me]: