Generic Instance Method

navigationBarItems(trailing:)

Configures the navigation bar items for the view.

Declaration

func navigationBarItems<T>(trailing: T) -> some View where T : View

Parameters

trailing

A view shown on the trailing edge of the title.

Discussion

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