Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
@objc func didTapButton() {
let appleIDProvider = ASAuthorizationAppleIDProvider()
let request = appleIDProvider.createRequest()
request.requestedScopes = [.fullName, .email]
let authorizationController = ASAuthorizationController(authorizationRequests: [request])
authorizationController.presentationContextProvider = self
authorizationController.delegate = self
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment