NavigationView

public struct NavigationView : View
extension NavigationView: Renderable

A view that adds navigation capabilities to a whole view hierarchy. Add only one NavigationView per view hierarchy.

By adding a NavigationView, a navigation bar will be shown by default.