O'Reilly logo

iAd Production by Ben Collier

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

Time for action — detecting a tap and sending an e-mail

Continuing to enhance our Cloud 9 ad, we'll add a button to our Book a flight page that will pre-fill the e-mail component with our booking center's e-mail address.

  1. If it isn't already, open the Cloud 9 - iPad project in iAd Producer. Double-click on the Book a flight page to open it on the ad canvas. Using the page toggle above the canvas, change to the Map Details view.
  2. From the object library, add a Button to the canvas. Open the inspector and change the outlet name to emailButton.

    Note

    When naming outlets, you should start in lowercase and then use camel case; this means each subsequent word after the first should be capitalized. For example, youShouldCapitalizeEveryFirstLetterOfEachWord ...

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