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 — 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. 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. 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 ...

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