Skip to content

Instantly share code, notes, and snippets.

@yusufozgul
Created June 12, 2019 14:36
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 yusufozgul/5451b0c844f8c627aeca642387f0747d to your computer and use it in GitHub Desktop.
Save yusufozgul/5451b0c844f8c627aeca642387f0747d to your computer and use it in GitHub Desktop.
Sign in with Apple
override func viewDidLoad()
{
super.viewDidLoad()
let authButton = ASAuthorizationAppleIDButton()
authButton.addTarget(self, action: #selector(authAppleID), for: .touchUpInside)
view.addSubview(authButton)
authButton.center = view.center
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment