NavigationView in SwiftUI

February 18, 2021

SwiftUI makes NavigationView(s) much simpler. Apple Developer Docs

The parent view wraps its content in a NavigationView { ...content...}. The children's outer view set their .navigationBarTitle("Title")

This works for both SwiftUI NavigationView(s) or if the navigation view is set in UIKit