init(destinationName:isActive:label:)
Creates a navigation link that presents a view from a WatchKit storyboard when active.
Declaration
nonisolated init(destinationName: String, isActive: Binding<Bool>, @ViewBuilder label: () -> Label)Parameters
- destinationName:
The storyboard name of a view for the navigation link to present.
- isActive:
A binding to a Boolean value that indicates whether
destinationis currently presented. - label:
A view builder to produce a label describing the
destinationto present.