Android App Development
iOS App Development
Flutter App Development
Cross Platform App Development
Hire on-demand project developers and turn your idea into working reality.
Big thanks to Webkul and his team for helping get Opencart 3.0.3.7 release ready!
Deniel Kerr
Founder. Opencart
Top Partners
Updated 21 November 2019
“Sign In with Apple” is a new authentication feature in iOS 13. Like login with Facebook and Gmail now, you can easily and securely login with your apple account also.
Please follow below steps to integrate Sign In with Apple in your iOS application.
Note : To integrate Sign In with Apple you must have updated Xcode version 11.1
Step 1: Create a new project, Go to “Target”, click on “Capability” and add “Sign In with Apple” capability in your project.
Step 2: Now configure this Sign In with Apple capability in app identifier in Developer account.
Certificates, Identifiers & Profile Identifiers > Identifiers > Your app identifier
Step 3: Then, add Keys for Apple Sign in. To do this Go to,
Certificates, Identifiers & Profile Identifiers > Keys > Create Keys
Step 4: Enter the name of keys and check Sign in with Apple option and click on configure button and choose your app bundle id, then click on Save and Register the Key.
Step 1: Add a Button on UIViewController in storyboard.
Step 2: Make the outlet of that btn and name it as appleSignInBtn, also make the action outlet of that button and name it as appleSignInBtnClicked.
Step 3– Let’s add below code in View Controller
Step 4: Now, make extension to implement ASAuthorizationControllerDelegate, ASAuthorizationControllerPresentationContextProviding methods.
You can run the app now and check the feature.
A button will be shown and when you click on the button it will open the popup with AppleId information, you can login and continue.
Hope this article helps you.
For any queries, please feel free to add a comment in the comments section.
Your email address will not be published. Required fields are marked*
Name*
Email*
Save my name email and website in this browser for the next time I comment.
Be the first to comment.
We use cookies to personalize your experience. By continuing to visit this website you agree to our use of cookies. Learn more about privacy policy
Name
Email
Subject
Enquiry or Requirement
If you have more details or questions, you can reply to the received confirmation email.