Initializer

init(authorizationButtonType:authorizationButtonStyle:)

Creates a new Sign In with Apple authorization button with the given type and style.

Declaration

init(authorizationButtonType type: ASAuthorizationAppleIDButton.ButtonType, authorizationButtonStyle style: ASAuthorizationAppleIDButton.Style)

Parameters

type

The type of the button. Use one of the values from ASAuthorizationAppleIDButton.ButtonType.

style

The style of the button. Use one of the values from ASAuthorizationAppleIDButton.Style.