Is the method used to unlock an iOS device available to an app? We would like to require a step-up to MFA (in our app) if passcode was used and allow for single factor if Face ID was used.
iOS Unlock Method
No. Why do you need to know that? Can't you just offer the best option to your users? If the device has biometrics and they're enabled and ready (which is something you can definitely check for) then handle it. If the device has biometrics but they aren't enabled/available, handle that instead.
You don't need to know how the user unlocked their device to deal with authentication in your own app.
Thank you for that feedback. The business requirement is for a user to bypass MFA if they unlocked their phone with Face ID. This is what we consider to be the best option for our customers. Regardless of that, is there an API that exposes the unlock method to an app in iOS (or is it in the roadmap for a future release)?
is there an API that exposes the unlock method to an app in iOS … ?
No.
or is it in the roadmap for a future release … ?
We can’t talk about The Future™. If you’d like to see such support added in the future, I encourage you to file an enhancement request describing your requirements.
Please post your bug number, just for the record.
Share and Enjoy
—
Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"