在Key Key中的SecItemAdd之前提示没有密码回退的Touch ID

时间:2017-09-07 14:21:23

标签: ios swift keychain touch-id localauthentication

我想在允许用户存储在钥匙串之前提示没有密码后备的Touch ID。

我知道在存储时设置SecAccessControlCreateFlags.touchIDCurrentSet将强制在用户请求钥匙串中的项目时发生这种情况(SecItemCopyMatching)。

使用LocalAuthentication似乎无法做到这一点,我无法找到使用SecAddItem的方法。 提前谢谢。

0 个答案:

没有答案
相关问题