Apple login on IOS
Questo contenuto non è ancora disponibile nella tua lingua.
Let’s break down what you are going to need in order to setup Apple login on IOS.
- 
Configure the capabilities of your app. In order to do this, please open Xcode, click on App 
- 
Make sure that you sellect the right target.  
- 
Please make sure that you add the Sign in with Applecapability.  
- 
Initialize the Apple Login in your app. // onMounted is vue specificonMounted(() => {SocialLogin.initialize({apple: {}})});
- 
Create a button that will begin the login process. Said button should call the following function: async function loginApple() {const res = await SocialLogin.login({provider: 'apple',options: {}})
- 
Run your app on a PHYSICAL device and test it. If you followed the steps closely you will see the following screen after clicking your button.  
That’s it! You are all set.