touch-id - Touch ID 密码回退 : Device Pin

标签 touch-id

我为用户提供了使用 Touch ID 的选项,并发现当用户输入不正确的密码或选择输入密码时,Edovia 的 Screens 会显示设备的 PIN 输入 View Controller 。我已经在文档和 Google 中搜索了可靠的示例或方向,可以让我呈现相同的密码输入方法,但我却空手而归。

有人知道我如何访问此屏幕吗?

1 2 3

最佳答案

它适用于 iOS 9.0 及更高版本。

您可以看到 LocalAuthentication here 的更改.

LAPolicy中,我们有一个新值:

LAPolicyDeviceOwnerAuthentication NS_ENUM_AVAILABLE(10_11, 9_0) = kLAPolicyDeviceOwnerAuthentication

您可以在LAContext.h中查看LAPolicyDeviceOwnerAuthentication的文档:

Touch ID authentication dialog behaves similarly as the one used by LAPolicyDeviceOwnerAuthenticationWithBiometrics. However, instead of "Enter Password" button there is "Enter Passcode" button which, when tapped, switches the authentication method and allows users to enter device passcode. Passcode authentication will get locked after 6 unsuccessful attempts with progressively increased backoff delay.

关于touch-id - Touch ID 密码回退 : Device Pin,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33048276/

相关文章:

ios - TouchId 应该使应用程序安装后添加/更新的指纹无效

ios - 用于登录 iOS 的 Touch ID

iOS - 返回 bool 值的用户身份验证函数

ios - 如何针对 NSUserDefaults 使用 Touch ID?

ios - 如何检测设备中是否配置了 Touch ID

ios - 检查 FaceID 是否正确?

ios - 使用 LAContext 和 touchIDAuthenticationAllowableReuseDuration 获取钥匙串(keychain)项目

ios - ios中使用Touch ID的不同指纹

ios - Touch ID 导致应用程序无响应

ios - LAContext 中的自定义用户回退按钮在 ios8.3 中不支持