Contents

ASAuthorizationAppleIDButton

A control you add to your interface that enables users to initiate the Sign In with Apple flow.

Declaration

class ASAuthorizationAppleIDButton

Overview

Choose one of the built-in button styles and types, and change the corner radius of the button by setting the cornerRadius property, but don’t otherwise modify the style of the button. Don’t use an Apple ID authorization button for any purpose other than to initiate the Sign In with Apple flow.

After the user taps the button, create a request using the provider, and then use an instance of ASAuthorizationController to execute the request.

For more information about which Sign in with Apple buttons are available on different Apple platforms, see Displaying Sign in with Apple buttons in your app.

Topics

Initializers

Styling the Button

See Also

Offering Sign In with Apple