From the course: Biometric Authentication for iOS in Swift

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Authentication with biometrics

Authentication with biometrics

From the course: Biometric Authentication for iOS in Swift

Start my 1-month free trial

Authentication with biometrics

- [Instructor] There's one more combination we want to try on this just to kind of swing the bat through. I'm going to move my breakpoint down here to line 30 and we're going to try a device on our authentication with biometrics, but now with the touch ID that we've been using. I'm also going to delete the contents of my fallback title so that it doesn't even display the fallback button. This means that the user has to authenticate with biometrics fail or tap cancel. There's no fallback option, so let's run this. So we're still in the iPhone 6, so we have the touch ID I'm going to fail it, and it tells me try again and just still has the cancel button, there's no fallback. Failed it again, one more try. And now we come back and we have that the success was false. And we get authentication failed. So again in this case we're only allowing them to authenticate with biometrics, there's no pass code option and there's not even a fallback option that allows us to present them with a login…

Contents