SecItemCopyMatching for Touch ID without passcode fallback

前端 未结 6 2099
抹茶落季
抹茶落季 2020-12-29 20:36

I am using SecItemCopyMatching to fetch a keychain item protected by Touch ID.

However, if Touch ID unlocking fails (or the user selects \"Enter Passcod

6条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-29 21:06

    On iOS 8.3 and above, the passcode fallback option is hidden initially but still appears if the first finger presented is not recognised.

    For iOS 9, two new policies have been added that do not fallback to passcode. These policies are kSecAccessControlTouchIDAny and kSecAccessControlTouchIDCurrentSet

提交回复
热议问题