init(action:)
Constructs a new help link with the specified action.
Declaration
init(action: @escaping () -> Void)Parameters
- action:
The action to perform when the user clicks the button.
Discussion
Use this initializer when you want the standard help button appearance with a custom button action that does not open an article in an Apple Help book.