MMCustomEventInterstitial Protocol Reference

Conforms to MMCustomEvent
Declared in MMCustomEventInterstitial.h

Overview

This protocol is implemented by classes which can provide content for interstitial ads.

+ customEventWithDelegate: required method

The method should return an instance of MMCustomEventInterstitial.

+ (id<MMCustomEventInterstitial>)customEventWithDelegate:(id<MMCustomEventInterstitialDelegate>)delegate

Parameters

delegate

Custom event interstitial delegate.

Discussion

The method should return an instance of MMCustomEventInterstitial.

Declared In

MMCustomEventInterstitial.h

– presentFromController:animated:transitionStyle:completion: required method

Display the interstital.

- (void)presentFromController:(UIViewController *)controller animated:(BOOL)animated transitionStyle:(UIModalTransitionStyle)transitionStyle completion:(void ( ^ ) ( void ))completion

Parameters

controller

The view control the interstitial must be presented from.

animated

Whether or not the display should be animated.

transitionStyle

The style to be used for the presentation.

completion

The completion block that should be called upon the interstitial being presented.

Discussion

Display the interstital.

Declared In

MMCustomEventInterstitial.h