Chapter 1. Navigation

WHAT'S IN THIS CHAPTER?

  • How navigation works on the iPad's split view

  • Using a toolbar to rotate an image

  • Implementing a simple bank account transaction tracker using a tab bar

Navigation is the process of searching through a hierarchy to arrive at the information you desire. With the iPhone and iPad, navigating through your data is achieved through the following components; each has a specific viewing philosophy:

  • Navigation bar — Arranges the data in a hierarchy that you can navigate by drilling down, and provides a path back to the top

  • Toolbar — Provides a number of options that act on the current view context

  • Tab bar — Provides different views of the same set of data

This chapter presents the steps to create an application for each of these navigation components to demonstrate a simple use case for each style. The device on which your application runs determines the style of navigation you implement. Remember that there is more drilling down on an iPhone than on an iPad because of the limited viewing area. This is very important if you are planning to develop an application that will be available on both devices. The iPad should not be just a duplicate application, in terms of visual presentation.

Note

When considering navigation design for your applications, consult Apple's User Interface Guidelines for the iPad as well as the iPhone. See Appendix D for documentation sources for these and other developer guides offered by Apple.

NAVIGATION STACK

The navigation process ...

Get Professional iPhone® and iPad™ Application Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.