Created
June 12, 2019 14:36
-
-
Save yusufozgul/5451b0c844f8c627aeca642387f0747d to your computer and use it in GitHub Desktop.
Sign in with Apple
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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