Contents

prepareInterfaceToConvertAccountToSignInWithApple(for:existingCredential:userInfo:)

Prepares the view controller’s interface that displays when converting an account that uses password authentication to use Sign in with Apple.

Declaration

func prepareInterfaceToConvertAccountToSignInWithApple(for serviceIdentifier: ASCredentialServiceIdentifier, existingCredential: ASPasswordCredential, userInfo: [AnyHashable : Any]? = nil)

Parameters

  • serviceIdentifier:

    An identifier that represents a particular service that the user needs a credential for, like a web site.

  • existingCredential:

    The current password credential for the service.

  • userInfo:

    A dictionary that contains app-specific values when the request to upgrade to Sign in with Apple initiates from by the parent app. If the request to upgrade to Sign in with Apple doesn’t initiate from the app, this parameter is nil.

Mentioned in

See Also

Upgrading to Sign in with Apple