I want to customize Google Sign-In button like below:-
I have tried below links, but none of them helped really much:-
How to customize google sign in button?
ht
All are fine with the answer of @Rohit KP (https://stackoverflow.com/a/34368678/2905967)
But Little adding when assigning the delegates.
Please call your action like this:
- (IBAction)btnGooglePlusPressed:(id)sender
{
[GIDSignIn sharedInstance].delegate=self;
[GIDSignIn sharedInstance].uiDelegate=self;
[[GIDSignIn sharedInstance] signIn];
}
and add these delegates GIDSignInDelegate,GIDSignInUIDelegate