适用于iOS应用的密码自动填充 [英] Password AutoFill for iOS App

查看:64
本文介绍了适用于iOS应用的密码自动填充的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在iOS 11中,他们引入了密码自动填充功能,该功能可以像在Safari中一样填充iOS应用中的用户名和密码,用户首先访问网站,登录后将用户名和密码保存在钥匙串中,然后打开应用即可字段会自动填充,用户名和密码

In iOS 11 they have introduced password autofill which fills the username and password in iOS app like the same way it does in Safari, User goes to website first, logged in save the username and password in keychain and then open app were the fields are automatically populated, the username and password

是否可以通过其他方式实现,例如我先登录该应用程序,然后通过Safari浏览网站时,它会自动填充用户名和密码?

can it be implemented in other ways, like I logged in the app first and then while going on the website through Safari it automatically fills the username and password?

是否有任何与此相关的文档或文章?

Is there any documentation or articles regarding it?

推荐答案

我在WWDC的开发人员实验室中对此进行了询问,并被告知有可能.关键在于,新密码自动填充基于现有的 Shared Web Credentials API,这两种方式都可以.如果您使用该API从应用程序中保存凭据,则它们将在Mobile Safari中可用.共享的Web凭据是 2014 WWDC会话的主题.

I asked about this at the developer labs at WWDC and was informed that it's possible. The key is that the new password autofill is based on the existing Shared Web Credentials API, which works both ways. If you use that API to save credentials from your app, they'll be available in Mobile Safari. Shared Web Credentials was the topic of a 2014 WWDC session.

我还没有尝试过,但是根据消息来源,我非常有信心它应该可以工作.

I haven't tried it yet, but based on the source I'm pretty confident that it should work.

这篇关于适用于iOS应用的密码自动填充的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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