Generic Instance Method

navigationBarItems(leading:)

Configures the navigation bar items for the view.

Declaration

func navigationBarItems<L>(leading: L) -> some View where L : View

Parameters

leading

A view that appears on the leading edge of the title.

Discussion

This modifier only takes effect when this view is inside of and visible within a NavigationView.