Skip to content

iOS Interstitial Advanced Usage

Mert Celik edited this page Sep 24, 2018 · 1 revision

If you are looking for a usage that gives you more control about the performance optimization, you can use methods below:

N.B: If you want to use advanced usage, do NOT enable auto-loading for that format.

1. Load the interstitial

Load the ad by calling:

[AMInterstitial loadAd];

2. Check if interstitial is loaded

You can check the ad availability by calling:

if ([AMInterstitial isReady]) {
    // interstitial is ready
} else {
    // interstitial is NOT ready
}

3. Display the interstitial

You can display the interstitial by calling:

[AMInterstitial presentFromViewController:YOUR_VIEW_CONTROLLER];
Clone this wiki locally