ios - 如何始终在 Safari 中打开 google plus 登录屏幕

标签 ios objective-c cocoa-touch google-plus

我正在我的应用程序中添加 Google+ 登录。它在模拟器中与 Safari 一起工作正常。
在按钮上单击其打开的 safari,当用户完成登录后返回到应用程序。

但是当我在打开了谷歌浏览器的设备上测试它时。并且在登录后没有返回到应用程序。

那么有没有办法只在 safari 而不是 chrome 中显示 google plus 登录。

最佳答案

阅读Official documentation of G+.

It provides single sign-on via the Google+ app (if installed), Chrome for iOS (if installed), or Mobile Safari.

那么有没有办法只在 safari 而不是 chrome 中显示 google plus 登录。
-> 可能您需要从您的 iOS 设备上删除/卸载 goole chrome 应用。

关于ios - 如何始终在 Safari 中打开 google plus 登录屏幕,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24080075/

相关文章:

iphone - 那么 CALayer 不包含 View 的内容位图?

ios - 如何在 ios 中的 UIAlertView 上显示所有带有普通字体的按钮文本

ios - reloadData 之后未调用 cellForRowAtIndexPath 但 numberOfRowsInSection 调用

objective-c - IOS:NSDate 问题

ios - 更改 UILabel 文本

ios - 我如何才能知道 AdMob 是否加载了广告?

ios - 将图像转换为 CVPixelBuffer 用于机器学习 Swift

ios - 如何在 Swift 中正确计算日期时差

ios - 主视图从 ScrollView 中占用顶部空间?

ios - 明确关闭 UIActivityViewController 是否正确/可能(在 AirDrop 之后)?