The “Sign in with Apple” button
Apple’s Human Interface Guidelines has a clear definition of how the Sign in with Apple button should look. In order to ensure compliance with Apple’s guidelines, we recommend you use theASAuthorizationAppleIDButton class from Apple’s AuthenticationServices framework.
Take a look at the snippet below if you wish to use the ASAuthorizationAppleIDButton in SwiftUI.
Initializing Apple login
Privy automatically implements and launches Apple’s nativeASAuthorizationController after calling privy.oAuth.login(with: OAuthProvider.apple). Add the SignInWithApple button to your view as described above, and trigger the login method when tapped.

