Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save interstateone/dbe67fa6f6a68b107e3b4078cb6cc9bb to your computer and use it in GitHub Desktop.
Save interstateone/dbe67fa6f6a68b107e3b4078cb6cc9bb to your computer and use it in GitHub Desktop.
Sign In with Apple: create button
import AuthenticationServices
func createButton() {
let authorizationButton = ASAuthorizationAppleIDButton()
authorizationButton.addTarget(self, action:
#selector(handleAuthorizationAppleIDButtonPress),
for: .touchUpInside)
myView.addSubview(authorizationButton)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment