7. Navigation Controllers I: Hierarchies and Tabs

Most apps have a main view leading to multiple screens, often with more than one way to move through them. You need to provide a way for your users to move around your app and some way for them to know where they are. Navigation controllers provide different ways to move between the parts of an app and the functionality those parts provide.

On iPhones and iPod touches, most apps using navigation controllers fall into two types. One uses a single main view that navigates through a series of screens showing progressively more or less detail. Contacts, Notes, and Settings are good examples. Others, such as Clock and Music, have several main views, each with different functionality or even their own ...

Get Learning iOS Development: A Hands-on Guide to the Fundamentals of iOS Programming 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.