Use/Request Touch ID without Authentication Prompt

On macOS, in the Apple Passwords app (currently inside Settings but soon to be it's own full fledged app in Sequoia) the user is presented with a screen requesting that they touch the fingerprint reader (see attached).

If we'd like to do something similar, e.g. unlock some sensitive/secure part of our app, by requesting the user touch the Touch ID sensor, but without doing the whole system prompt (LAContext.evaluatePolicy()), how can we do that?

Is that possible for mere mortal developers, and if not, why not?

Answered by DTS Engineer in 794744022

Have you looked at the LAAuthenticationView view?

[Posing this as a question because, honestly, I’ve not played around with it myself |-: However, it does seem promising.]

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Accepted Answer

Have you looked at the LAAuthenticationView view?

[Posing this as a question because, honestly, I’ve not played around with it myself |-: However, it does seem promising.]

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

Cheers @eskimo, works a treat!

Use/Request Touch ID without Authentication Prompt
 
 
Q