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 something extra to our e-mail


While our e-mail contact form is fit for purpose, we can still add some extra polish and neat functionality (just like we've been doing to the visual aspect of our ad). As the book now button is on the store details page, let's make our e-mail body include the name of the selected store:

  1. 1. Open the Cloud 9 - iPad project in iAd Producer and open the map details view of the Book a flight page on the canvas.

  2. 2. We need to get back to the code editor and find the code that we added in the last exercise. With the book a flight button selected, click on Code | Show Code Editor from the menu bar. This will open the code editor and you can scroll down to find the function this.onViewTouchUpInside. When a control only has one function or event added to it, this technique is simple. However, if our control has multiple events, our file can quickly become crowded. To open the code editor directly focused in a function, select the button object...