O'Reilly logo

iPhone JavaScript Cookbook by Arturo Fernandez Montoro

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

Building menus using lists

The menu is one of the most important widgets of the graphical user interface of the software. It allows a structured and hierarchical way for accessing different options and features offered by the application. Desktop applications use a menu inside the main toolbar and web applications apply techniques such as the use of unordered list or tabs. For the iPhone applications, we will need a specific widget to emulate a conventional and typical menu as the common pull-down menus are not used by the iPhone. Usually, this widget is a navigation list, which is similar to the simple list showed in the previous recipe. However, the native look of the iPhone uses a rounded list where each item has an arrow to get access to other ...

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