问题
I was trying to implement social login (Google) in my new application. For that I followed this link: https://developers.google.com/identity/sign-in/ios/start-integrating and successfully able to add google login and fetched user basic information. But I got stuck in Sign Out Process. For logout I've written following line, But still users data doesn't remove. As when I tried to login again it pick last gmail id.
[[GIDSignIn sharedInstance] signOut];
I tried to find out the solution for this. But no luck. If some one has experienced about this, please share. Or Is there any other way for google login and logout.
Thanks in advance!
回答1:
You can manually sign Out from that page as below .
来源:https://stackoverflow.com/questions/38870426/google-sign-out-ios