If you add an ADBannerView you can detect when it loads an AD from its delegate function:
- (void)bannerViewDidLoadAd:(ADBannerView *)banner {
This can be helpful if you have views below the banner that you need to move or resize when the banner loads.
I coudn't find any way to detect when the banner is disappearing to move back again all the views in place.
The delegate has only these functions:
Detecting When Advertisements Are Loaded
– bannerViewWillLoadAd:
– bannerViewDidLoadAd:
Detecting When a User Interacts With an Advertisement
– bannerViewActionShouldBegin:willLeaveApplication:
– bannerViewActionDidFinish:
Detecting Errors
– bannerView:didFailToReceiveAdWithError:
Nothings seems to get triggered when the banner unloads.
Any way to detect the banner unload or any workarounds? Thanks!