Skip to content

Instantly share code, notes, and snippets.

@iosdevie
Created May 29, 2021 18:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iosdevie/a6470eb46b83ec9383e170d8aa002b22 to your computer and use it in GitHub Desktop.
Save iosdevie/a6470eb46b83ec9383e170d8aa002b22 to your computer and use it in GitHub Desktop.
struct ContentView: View {
var body: some View {
SignInWithAppleView()
.frame(width: 200, height: 50)
}
}
struct SignInWithAppleView: UIViewRepresentable {
func makeUIView(context: Context) -> ASAuthorizationAppleIDButton {
ASAuthorizationAppleIDButton()
}
func updateUIView(_ uiView: ASAuthorizationAppleIDButton, context: Context) {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment