O'Reilly logo

Building iOS 5 Games: Develop and Design by James Sugrue

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

10. iAd, Airplay, and In-app Purchases

Your game may benefit from the addition of a couple features that aren’t specifically game related, but could add value to your game and possibly increase its earning potential.

In this chapter, you’ll see how to add iAd and in-app purchases to your game to create additional revenue streams, and learn how to display your game on a big-screen TV.

Using iAd

iAd is the Apple-supplied advertising framework that allows your app to display ads. The one requirement of iAd is that the ads are shown on a ViewController, so when the user taps on the ad, iAd can load it fullscreen in a modal ViewController.

iAd generates revenue through a combination of tap-throughs and successful presentation of the ad. The revenue ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required