init(LocalizedStringKey , isActive : Binding<Bool>, destination: () -> Destination)
Creates a navigation link that presents a destination view when active, with a text label that the link generates from a localized string key.
Available when
Label
is Text
and Destination
conforms to View
.init<S>(S, isActive : Binding<Bool>, destination: () -> Destination)
Creates a navigation link that presents a destination view when active, with a text label that the link generates from a title string.
Available when
Label
is Text
and Destination
conforms to View
.init(isActive : Binding<Bool>, destination: () -> Destination, label: () -> Label)
Creates a navigation link that presents the destination view when active.