iOS Developer Library — Pre-Release

Developer

iAd Framework Reference

Introduction

Classes   Protocols   Other Reference  

iAd allows your application to earn revenue by displaying advertisements to the user. Your application dedicates a portion of its user interface to display advertisements and in turn you receive revenue when users view or click those advertisements.

While you are developing your application, iAd sends test advertisements to help you verify your implementation is correct. To receive live advertisements from iAd in a release application, you need to integrate the iAd Framework in your application and submit your binary using iTunes Connect.

Classes

NSObject

NSObject is the root class of most Objective-C class hierarchies.

ADClient

The ADClient class is used to determine iAd-specific information about the app.

ADInterstitialAd

The ADInterstitialAd class provides full-screen advertisements that your iPad application can display to the user.

UIView

The UIView class defines a rectangular area on the screen and the interfaces for managing the content in that area.

ADBannerView

The ADBannerView class provides a view that displays banner advertisements to the user.

Protocols

ADBannerViewDelegate

The ADBannerViewDelegate protocol is implemented by an object to react to changes in an ADBannerView object.

ADInterstitialAdDelegate

The ADInterstitialAdDelegate protocol is implemented by an object so that your application can respond to changes in an ADInterstitialAd object.

Other Reference

UIViewController iAd Additions Reference