Initializer

init(destinationName:isActive:label:)

Creates a navigation link that presents a view from a WatchKit storyboard when active.

Declaration 宣言

init(destinationName: String, isActive: Binding<Bool>, label: () -> Label)
Available when Label conforms to View and Destination is _WKStoryboardContent.

Parameters パラメータ

destinationName

The storyboard name of 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 参照

Presenting with Programmatic Activation