© Wallace Wang 2019
Wallace WangBeginning iPhone Development with Swift 5https://doi.org/10.1007/978-1-4842-4865-2_17

17. Using the Navigation Controller

Wallace Wang1 
(1)
San Diego, CA, USA
 

Only the simplest apps consist of a single view such as the Calculator app. Most apps usually need two or more views to display information. While you could create buttons and link them to different views, this can be a clumsy solution. A far better solution is to organize related views together.

Xcode offers two ways to group related views together. One option is to use a Navigation Controller. This allows the user to browse through a list of views in sequential order where each view can open the next view and a special back button returns to the previous view ...

Get Beginning iPhone Development with Swift 5: Exploring the iOS SDK 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.