Initializer

init(destination:label:)

Creates a control, consisting of a URL and a label, used to navigate to the given URL.

Declaration 宣言

init(destination: URL, label: () -> Label)

Parameters パラメータ

destination

The URL for the link.

label

A view that describes the destination of URL.

See Also 参照

Creating a Link