Hi
Does anyone know if it’s possible to use Face ID or Thumbprint to retrieve saved ID details in Keychain?
Thanks very much
Chris
Hi
Does anyone know if it’s possible to use Face ID or Thumbprint to retrieve saved ID details in Keychain?
Thanks very much
Chris
These two things arent necessarily connected. TouchID/FaceID are just a way to know that the owner of the device is right there. Accessing the keychain is up to you and your app.
Can you be more specific about what you want to do? For instance, is this for a login screen?
Thanks Greg. Yes, a login were I currently store the hashed username & password locally, but I’d like the device to save and find the details in the Keychain so the login either populates with the details or moves on to the next view…
For the moment youll need to use declares for this. The tricky part is that the success/fail messages for touch/Face ID dont fire on the main thread, so you actually have to receive the info, store it in a simple data type and fire a timer so that youre accessing the data in a way that wont crash your app.
Im sure that one of the iOS declare libraries has an example.
Thanks Greg. I’ll keep investigate - I don’t seem to be able to see an example in iOS Declares. Thanks for your help
Are you trying to have the iPhone auto-complete a username and password that was stored from a web page?
Such as credentials from your website that would be retrieved in your app?
Thanks Jeremie. No, not from a web site. It would originate from the user tying the same username and password in the same app
Chris theres code for Keychain access in, I think, iOSKit. Ive been using it successfully for years (note that it does not work in the iOSSimulator). @Antonio Rinaldi has an excellent little class for biometrics both FaceID and TouchID on his website at https://www.falcosoftware.com/xojo
Cheers Jason. Ill give it a try. Thanks very much.