iOS 11 Facebook登录显示初始系统警报 [英] iOS 11 Facebook SignIn is showing an initial system alert

查看:50
本文介绍了iOS 11 Facebook登录显示初始系统警报的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为iOS 11准备应用程序时,我注意到每次用户单击"Facebook登录"按钮时都会显示系统警报.有人知道如何防止此警报出现吗?现在,社交网络集成已从系统中删除,并且与Safari View Controller cookie存储更改(不共享)一起,听起来苹果还向注册添加了此额外警报-每当您尝试与Facebook连接时登录流程.您的应用程序中是否有某些主体也遇到过同样的问题?感谢您的评论.

Preparing an app for iOS 11, I noticed there is a system alert showing up every time the user click on the "Facebook login" button. Does somebody know how to prevent this alert from appearing?. Now Social Networks integrations have been removed from the system and together with the Safari View Controller cookies storage changes (to not be shared) it sounds Apple has also added this extra alert to the sign up - sign in flow whenever you try to connect with Facebook. Has some body experienced the same issue in your apps?. Thanks for your comments.

推荐答案

这不是问题.这是设计使然.在iOS 11+中使用 SFAuthenticationSession 时,授权工作流的一部分,您无法避免,因为它是用户权限请求.

It's not an issue. It's by design. Part of the authorization workflow when working with SFAuthenticationSession in iOS 11+ and you can't avoid it since it's a user permission request.

如果应用程序使用SFAuthenticationSession,则会通过对话框提示用户进行明确同意,从而允许该应用程序在Safari中访问网站的数据.

If an application uses SFAuthenticationSession, users are prompted by a dialog to give explicit consent, allowing the application to access the website's data in Safari.

SFAuthenticationSession文档

SFAuthenticationSession docs

这篇关于iOS 11 Facebook登录显示初始系统警报的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆