Apple login on IOS
이 콘텐츠는 아직 귀하의 언어로 제공되지 않습니다.
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 Apple
capability. -
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.