© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2022
W. WangBeginning iPhone Development with SwiftUIhttps://doi.org/10.1007/978-1-4842-7818-5_16

16. Using the Navigation View

Wally Wang1  
(1)
San Diego, CA, USA
 

Only the simplest apps consist of a single screen such as the Calculator app. However, most apps usually need two or more screens to display information. In SwiftUI, you can define each screen of your app’s user interface by creating a separate structure. Then you need to provide a way to jump from one screen to another.

One of the simplest ways to jump from one screen to another is through a Navigation View, which displays multiple screens in sequential order. This Navigation View is commonly used in ...

Get Beginning iPhone Development with SwiftUI: 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.