init(destination:)
Constructs a new help link that opens the specified destination URL.
Declaration
init(destination: URL)Parameters
- destination:
The URL to open when the button is clicked.
Discussion
Use this initializer when you want the standard help button appearance that opens a link to a website.
You can override the default behavior when the button is clicked by setting the openURL environment value with a custom OpenURLAction.