Creates an authorization button for use in SwiftUI.
- watchOS 6.0–6.1Deprecated
The object whose action method is called.
A selector identifying the action method called when the user taps the button.
When the user taps the button, the system calls the
action method on the target.
Use this initializer to create an instance that you can wrap in a
WKInterface view. If you aren’t using SwiftUI, create the control by dragging it from the Object library to your storyboard instead.