Initializer

init(destination:isActive:label:)

Creates a navigation link that presents the destination view when active.

Declaration 宣言

init(destination: Destination, isActive: Binding<Bool>, label: () -> Label)

Parameters パラメータ

destination

A view for the navigation link to present.

isActive

A binding to a Boolean value that indicates whether destination is currently presented.

label

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

See Also 参照

Deprecated Initializers