IMInterstitialAnimationType Constants Reference

Declared in IMInterstitial.h

IMInterstitialAnimationType

  • Class to integrate full screen interstitial ads in your application
  • Adding interstitial ads is demonstrated in the code fragment below
  • Implement the following in the viewcontroller

IMInterstitial *interstitialView = [[IMInterstitial alloc] initWithPlacementId:1203280001]; interstitialView.delegate = self; [interstitialView load];

  • (void)interstitialDidFinishLoading:(IMInterstitial *)interstitial { [interstitial show]; }

  • (void)interstitialDidReceiveAd:(IMInterstitial *)interstitial { NSLog(@“interstitialDidReceiveAd”); }

  • (void)interstitial:(IMInterstitial )interstitial didFailToLoadWithError:(IMRequestStatus )error { NSLog(@“Interstitial failed to load ad”); NSLog(@“Error : %@”,error.description); }

  • (void)interstitial:(IMInterstitial )interstitial didFailToPresentWithError:(IMRequestStatus )error{ NSLog(@“Interstitial didFailToPresentWithError”); NSLog(@“Error : %@”,error.description); }

  • (void)interstitialDidDismiss:(IMInterstitial *)interstitial { NSLog(@“interstitialDidDismiss”); }

  • (void)interstitialWillDismiss:(IMInterstitial *)interstitial { NSLog(@“interstitialWillDismiss”); }

  • (void)interstitialWillPresent:(IMInterstitial *)interstitial { NSLog(@“interstitialWillPresent”); }

  • (void)interstitialDidPresent:(IMInterstitial *)interstitial { NSLog(@“interstitialDidPresent”); }

  • (void)userWillLeaveApplicationFromInterstitial:(IMInterstitial *)interstitial { NSLog(@“userWillLeaveApplicationFromInterstitial”); }

Definition

typedef NS_ENUM(NSInteger, IMInterstitialAnimationType ) {
   kIMInterstitialAnimationTypeCoverVertical,
   kIMInterstitialAnimationTypeFlipHorizontal,
   kIMInterstitialAnimationTypeNone,
};

Constants

kIMInterstitialAnimationTypeCoverVertical
  • Class to integrate full screen interstitial ads in your application
  • Adding interstitial ads is demonstrated in the code fragment below
  • Implement the following in the viewcontroller

Declared In IMInterstitial.h.

kIMInterstitialAnimationTypeFlipHorizontal
  • Class to integrate full screen interstitial ads in your application
  • Adding interstitial ads is demonstrated in the code fragment below
  • Implement the following in the viewcontroller

Declared In IMInterstitial.h.

kIMInterstitialAnimationTypeNone
  • Class to integrate full screen interstitial ads in your application
  • Adding interstitial ads is demonstrated in the code fragment below
  • Implement the following in the viewcontroller

Declared In IMInterstitial.h.

Declared In

IMInterstitial.h