# GoogleSignIn Framework Reference

# GIDSignInButton

    @interface GIDSignInButton : UIControl

This class provides the "Sign in with Google" button.

You can instantiate this class programmatically or from a NIB file. You should connect this
control to an `IBAction`, or something similar, that calls
signInWithPresentingViewController:completion: on `https://developers.google.com/identity/sign-in/ios/reference/Classes/GIDSignIn.html` and add it to your view
hierarchy.
- `


  ### [style](https://developers.google.com/identity/sign-in/ios/reference/Classes/GIDSignInButton#/c:objc(cs)GIDSignInButton(py)style)


  ` The layout style for the sign-in button.
  Possible values:
  - kGIDSignInButtonStyleStandard: 230 x 48 (default)
  - kGIDSignInButtonStyleWide: 312 x 48
  - kGIDSignInButtonStyleIconOnly: 48 x 48 (no text, fixed size)

  #### Declaration

  Objective-C

      @property (nonatomic) https://developers.google.com/identity/sign-in/ios/reference/Enums/GIDSignInButtonStyle.html style;

- `


  ### [colorScheme](https://developers.google.com/identity/sign-in/ios/reference/Classes/GIDSignInButton#/c:objc(cs)GIDSignInButton(py)colorScheme)


  ` The color scheme for the sign-in button.
  Possible values:
  - kGIDSignInButtonColorSchemeDark
  - kGIDSignInButtonColorSchemeLight (default)

  #### Declaration

  Objective-C

      @property (nonatomic) https://developers.google.com/identity/sign-in/ios/reference/Enums/GIDSignInButtonColorScheme.html colorScheme;