Deprecated ADInterstitialAd Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in iOS 7.0

presentFromViewController:

Presents a full screen advertisement modally to the user. (Deprecated in iOS 7.0.)

- (void)presentFromViewController:(UIViewController *)viewController
Parameters
viewController

The view controller to present the ad.

Discussion

Your application presents a full-screen advertisement modally when it requires the user to interact with the advertisement before continuing to the next screen of content in your application. For example, a game might present a modal advertisement after the player finishes playing a match; the player must dismiss the advertisement before beginning another match. When the modal advertisement is dismissed by the user, the advertisement is removed from the screen and its contents are unloaded from memory.

An ad object throws an exception if your application presents the ad before it finishes loading content from the iAd Network.

Availability
  • Available in iOS 4.3 and later.
  • Deprecated in iOS 7.0.
Declared In
ADInterstitialAd.h