Book Image

iAd Production Beginner's Guide

By : Ben Collier
Book Image

iAd Production Beginner's Guide

By: Ben Collier

Overview of this book

Think of an iAd as a micro-app contained within an app on a user's iPhone or iPad that they've downloaded from the App Store. When the user taps your advert's banner it bursts into life filling the entire screen of their device. iAd Beginner's Guide takes you through the start to finish process of building rich, compelling, interactive iAds. You will learn to create beautiful multi-page ads with store finders, social sharing, 3D images and video galleries. You will create ads that utilize the powerful technologies in the iPhone to make your brand shine. Once you have engaged the user you can carry out targeted advertising campaigns with location-based coupons, store finders and social engagement. Using the iTunes Store you will see how it's even possible to add one-click digital content purchasing right within your ad. Learn how iAd producer manages all the HTML5, JavaScript, and CSS3 behind your iAd. You will be creating emotive, gripping and effective mobile advertising campaigns in no time.
Table of Contents (18 chapters)
iAd Production
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface

Time for action — adding another ad


As the iAd framework notifies us when no adverts are available, we can use this delegate method to display an alternative banner, namely, a simple image.

  1. 1. We'll continue with our demo iAd app that we created in the last chapter; open it in Xcode now. For our banner, we'll use an image that is the same size as an iAd banner, 320px wide and 50px high, but we'll also require a high-resolution, double-sized image for retina displays. In the iAd Demo App folder included with the book resources, locate the images [email protected] and Banner.png to the project navigator, that is, to the left of Xcode.

    Note

    Unlike iAd Producer, Xcode doesn't automatically produce our low-resolution images from the high-resolution versions. We need to create one image at 640px by 100px and then save another version at half the size. You can use Preview to edit, resize, and save each banner. Name your high-resolution image with @2x in the filename before the file extension.

  2. 2. With...