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 — tweeting the tweet

As not every device will necessarily be running iOS 5, we'll create a check to ensure that the device supports Twitter, and then let the user tweet and share an update about our brand:

  1. Open the Dino Stores project we used in the last exercise. We'll add a button to the menu screen that'll open up the Twitter dialog. Open the menu page on the canvas and then drag the button from the object library.
  2. Position the menu near the bottom of the page and expand it to fill the width. Update the text with a call to action, such as Tweet a dino fact!. Your button may look a little like the following screenshot:
    Time for action — tweeting the tweet
  3. Click and ...

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