Google Sign Out iOS

让人想犯罪 __ 提交于 2019-12-14 00:52:16

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!