0

I have developed some code to using touch id and it's works correctly.
But when using wrong finger show me error and not authorize like this:

enter image description here

So in this situation I want to when tap on Enter Password , show me passcode screen to type my iPhone passcode(I don't know exist any api for this). And how to handle Enter Password button after tapping(Delegate or ...).

Thank you.

9
  • I not think you can change the behaviour of the dialog, since this would be a big security issue. The API will show the passcode/password screen. Commented Nov 13, 2017 at 9:42
  • which api handle Enter Passcode or Show it in swift? @rckoenes Commented Nov 13, 2017 at 9:45
  • It's all in the LocalAuthentication Framework. Commented Nov 13, 2017 at 9:46
  • @rckoenes I saw this. it's just handle Touch ID not passcode. Commented Nov 13, 2017 at 9:49
  • 1
    You cannot present the fallback to passcode in the event of a failed biometric when using local authentication. You can require biometric only when you are retrieving an item from the keychain that has kSecAccessControlTouchIDAny but not kSecAccessControlApplicationPassword in its access control flags Commented Nov 13, 2017 at 10:55

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.