使用隐藏的SFSafariViewController获取Safari cookie [英] Use hidden SFSafariViewController to get Safari cookies

查看:1402
本文介绍了使用隐藏的SFSafariViewController获取Safari cookie的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在阅读以下文章,对从移动网页到本机iOS 9应用程序的用户进行身份验证,并且想知道如何最好地实现隐藏的safari视图控制器,类似于下面谈到的隐藏控制器?

I was reading the following post on authenticating users from mobile web pages to native iOS 9 apps and was wondering how to best implement a hidden safari view controller similar to the hidden controller talked about below?

https://library.launchkit.io/how-ios-9-s-safari-view-controller-could-completely-change -your-app-s-onboarding-experience-2bcf2305137f#.r810oldla

推荐答案

不要使用这种方法如果您要将应用程序分发到AppStore,因为根据更新的 App Store评论指南

Don't use this approach if you're going to distribute your app to the AppStore, because according to updated App Store Review Guidelines:


5.1.1:

5.1.1:

(iv)必须使用SafariViewContoller向用户显示信息;控制器可能不会被其他视图或层隐藏或遮挡。此外,应用程序可能无法使用SafariViewController在未经用户知情和同意的情况下跟踪用户。

(iv)SafariViewContoller must be used to visibly present information to users; the controller may not be hidden or obscured by other views or layers. Additionally, an app may not use SafariViewController to track users without their knowledge and consent.

这篇关于使用隐藏的SFSafariViewController获取Safari cookie的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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