Contents

init(destination:label:)

Creates a navigation link that presents the destination view.

Declaration

init(@ViewBuilder destination: () -> Destination, @ViewBuilder label: () -> Label)

Parameters

  • destination:

    A view for the navigation link to present.

  • label:

    A view builder to produce a label describing the destination to present.

Mentioned in

See Also

Presenting a destination view