Documentation Archive Developer
Search

iAd Changes

iAd

Added AVPlayerViewController.cancelPreroll()
Added AVPlayerViewController.playPrerollAdWithCompletionHandler(((NSError!) -> Void)!)
Added AVPlayerViewController.preparePrerollAds() [class]
Added MPMoviePlayerController.cancelPreroll()
Added MPMoviePlayerController.playPrerollAdWithCompletionHandler(((NSError!) -> Void)!)
Added MPMoviePlayerController.preparePrerollAds() [class]
Added UIViewController.canDisplayBannerAds
Added UIViewController.displayingBannerAd
Added UIViewController.interstitialPresentationPolicy
Added UIViewController.originalContentView
Added UIViewController.prepareInterstitialAds() [class]
Added UIViewController.presentingFullScreenAd
Added UIViewController.requestInterstitialAdPresentation() -> Bool
Added UIViewController.shouldPresentInterstitialAd
Modified ADAdType [enum]
Introduction
FromiOS 8.0
ToiOS 6.0

Modified ADBannerView
Introduction
FromiOS 8.0
ToiOS 4.0

Modified ADBannerView.adType
Introduction
FromiOS 8.0
ToiOS 6.0

Modified ADBannerView.init(adType: ADAdType)
DeclarationIntroduction
From
init(adType type: ADAdType)
iOS 8.0
To
init!(adType type: ADAdType)
iOS 6.0

Modified ADBannerViewDelegate.bannerViewWillLoadAd(ADBannerView!)
Introduction
FromiOS 8.0
ToiOS 5.0

Modified ADClient
Introduction
FromiOS 8.0
ToiOS 7.1

Modified ADClient.determineAppInstallationAttributionWithCompletionHandler(((Bool) -> Void)!)
Introduction
FromiOS 8.0
ToiOS 7.1

Modified ADClient.sharedClient() -> ADClient! [class]
Introduction
FromiOS 8.0
ToiOS 7.1

Modified ADError [enum]
Introduction
FromiOS 8.0
ToiOS 4.0

Modified ADInterstitialAd
Introduction
FromiOS 8.0
ToiOS 4.3

Modified ADInterstitialAdDelegate.interstitialAdWillLoad(ADInterstitialAd!)
Introduction
FromiOS 8.0
ToiOS 5.0

Modified ADInterstitialPresentationPolicy [enum]
Introduction
FromiOS 8.0
ToiOS 7.0