GoogleSignInSwift Framework Reference

  • GoogleSignInButton is a SwiftUI struct used for a Google Sign In button.

  • The button can be initialized using a viewModel or by specifying scheme, style, and state.

  • The viewModel contains styling information for the button.

  • The action parameter is a closure that defines what happens when the button is pressed.

GoogleSignInButton

@available(iOS 13.0, macOS 10.15, *)
public struct GoogleSignInButton : View

A Google Sign In button to be used in SwiftUI.