O'Reilly logo

iOS 8 SDK Development, 2nd Edition by Janie Clayton, Chris Adamson

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

Modal Navigation

In fact, we’ll close out the chapter with a different approach for presenting view controllers, and how it ties into one of the neatest things about navigating through storyboards.

In the tweet detail controller, we used a button rather than an image view to present the user’s icon, and this is where we’re going to use that: we’ll allow the user to tap the icon to go to a third view controller, one that presents details about the user.

Modal Segues

Add another view controller to the storyboard, to the right of the tweet detail view controller (again, it may be necessary to zoom out to organize the views nicely). Scroll so that both the tweet detail view controller and the new view controller are visible at the same time, and ...

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