Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
LocalAuthentication 将让您回退到需要手动输入密码,但如果您使用钥匙串 touchid 工作流程,则回退是密码。
要么他们没有将它存储在钥匙串中,而是使用他们自己的加密本地持久性,只有成功才能解锁,或者我错过了一个细微差别。
就像您说的,如果他们使用 Keychain 存储密码并通过 TouchID 检索密码,则密码选项是强制性的,开发人员无法修改。
我的猜测是,他们只是使用 LocalAuthentication 来请求 TouchID 身份验证的 True 或 False,与钥匙串无关。因此密码选项将不再是强制性的。