objective c - How to remove GPPSignInButton's default style (text, G+ image) to add your own in iOS -


we're using ggpsigninbutton log goopleplus service. want have custom , feel button, couldn't find way turn off text , image show button automatically when tell uibutton of kind gppsigninbutton. here's how looks when add own design inside otherwise empty button gppsigninbutton:

enter image description here

the way i've been able make disappear pretty patchy: (first wire button iboutlet called gplusbutton) [self.gplusbutton.subviews[0] removefromsuperview];

i tried using own button, , when pressed calling manually [[gppsignin sharedinstance] authenticate] method seems result in incorrect login (for example, login token isn't saved key chain google+ later uses silently authenticate me).

does know of better way design own style button? btw appears supported web sign in buttons.

just don't use gppsigninbutton! idea of calling authenticate directly correct - make sure configuring shared instance (including delegate , on) before calling authenticate.


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -