O'Reilly logo

iPhone User Interface Cookbook by Cameron Banga

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

Properly utilizing modal views

iOS is a highly modal operating system, forcing one application at a time upon the user. Not only are we limited to one application, but we're also limited in space and possible views at any given time when inside our application.

In this recipe, we'll define modal views and the role they play in our application.

Getting ready

Modal views are more prevalent and easy to distinguish on the iPhone and iPod touch, so we should look to have one of these two devices on hand. Modal views do occur on the iPad as well, so it would be helpful to also have this device if possible.

How to do it...

Apple has devised several different modal views for our disposal. One modal view only works on the iPhone, only three work on the iPad, ...

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