iAdSuite

Last Revision:
Version 2.2, 2013-05-28
Fixed an issue that could cause BannerViewController to raise an exception if it is used in an iPhone app.
(Full Revision History)
Build Requirements:
Xcode 4.5, iOS 6.0 SDK, LLVM Compiler 4.1, Automated Reference Counting (ARC).
Runtime Requirements:
iOS 5.0 or later; MediumRectBanner requires iOS 6.0.

iAdSuite is a set of samples demonstrating how to manage an ADBannerView in many common scenarios, each scenario demonstrated in a particular sample application.

In many of the samples the content is represented by a simple TextViewController view controller that displays some text in a read-only UITextView and runs a timer. The UITextView represents your application's content and the timer represents ongoing activity in your application that you will want to pause when the advertisement takes over the user interface. The MediumRectBanner sample uses a UICollectionView with image content instead, adding the banners as additional cells.

The traditional banner (represented with the ADAdTypeBanner constant) is expected to be placed at or near the bottom of the screen and placed to consume the full width of the screen. New in iOS 6 is the Medium Rect sized banner (represented with the ADAdTypeMediumRectangle constant) which is intended to be placed inline with other content from your application. It is highly recommended that you create only a single instance of each type of banner that you use (so if you use both a banner and medium rect type, you would have at most 1 instance of each) and that you share these instances among the places in your UI that they are used.