Initializer

init(destination:label:)

Creates a navigation link that presents the destination view.

Declaration 宣言

init(destination: () -> Destination, 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.

See Also 参照

Presenting a Destination View