Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

5. The Standard Controls > On the Button

On the Button

With all the buttons that come built into standard action sheets, toolbars, navigation bars, and tab bars, you’re already awash in interface controls to trigger your app’s features, but of course you’re not limited to using only the buttons that come bundled in those containers. The iPhone toolkit gives developers the basic code to draw a button anywhere on the screen. Buttons can be styled however you like, from a plain text button to a richly graphical icon. The most basic style is the rounded rectangle button, a just-the-facts control with a text label inside.

Now Playing (left) uses lots of rounded rectangle buttons for finding out more about movies playing in your area. Yelp (right) uses the same basic buttons, shown here at screen bottom, to launch searches for nearby businesses.
Now Playing (left) uses lots of rounded rectangle buttons for finding out more about movies playing in your area. Yelp (right) uses the same basic buttons, shown here at screen bottom, to launch searches for nearby businesses.
Figure 5-36. Now Playing (left) uses lots of rounded rectangle buttons for finding out more about movies playing in your area. Yelp (right) uses the same basic buttons, shown here at screen bottom, to launch searches for nearby businesses.

  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint