๐Ÿ”ธnavigation bar

SwiftUI โŸฉ navigation โŸฉ bar

A navigation var shows the title of the current view as well as displays various toolbar items within a NavigationStack.

NavigationStack { 
    // โญ๏ธ assign title to a view (within NavigationStack)
    MyView().navigationTitle("My View")
}

Last updated