Protocol

ADBannerViewDelegate

The ADBannerViewDelegate protocol is implemented by an object to react to changes in an ADBannerView object.

Declaration

@protocol ADBannerViewDelegate

Overview

The banner view calls its delegate when a new advertisement is loaded, when the user interacts with an advertisement, and when errors occur.

Topics

Detecting When Advertisements Are Loaded

- bannerViewWillLoadAd:

Called before a new banner advertisement is loaded.

- bannerViewDidLoadAd:

Called when a new banner advertisement is loaded.

Detecting When a User Interacts With an Advertisement

- bannerViewActionShouldBegin:willLeaveApplication:

Called before a banner view executes an action.

- bannerViewActionDidFinish:

Called after a banner view finishes executing an action that covered your application’s user interface.

Detecting Errors

- bannerView:didFailToReceiveAdWithError:

Called when a banner view fails to load a new advertisement.

Relationships

Inherits From

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software