Touch ID is Apple's technology for fingerprint scanning introduced with the iPhone 5s. Starting with iOS 8, third-party developers are able to access Touch ID and determine whether or not a fingerprint scan was valid. Prior to iOS8, it had no public API and can therefore could not be used by third-party developers.
Questions tagged [touch-id]
411 questions
7
votes
1 answer
Setting the TouchID "Enter Password" fallback to start editing UITextField
I got touchID set up and working fine in my application.
However I'd like to change the functionality of "Enter Password".
When creating my authentication I was following the tutorial from: http://www.appcoda.com/touch-id-api-ios8/
However they user…

Mark L
- 759
- 2
- 12
- 29
7
votes
2 answers
LAContext change UIAlertController button title
I've incorporated TouchID into my app with LAContext, like so:
However, I'm wanting to change the name of the button title from "Enter Password" to enter "Enter Security Code" (or something like that), like this:
How would I go about changing that…

Cody Winton
- 2,989
- 5
- 25
- 48
7
votes
3 answers
Touch ID API responsive is very slow
I have followed the guidelines and also the example for Touch ID API from Apple documentation. I have used the example in my applications. I could able to login using Touch ID. But the problem is its responsive is very very slow. After I put my…

user4150758
- 384
- 4
- 17
6
votes
2 answers
Authentication failed and Try Face Id Again does nothing
I'm just follow this tutorial to authenticate user by Face ID but actually it's not work with "Try Face Id Again" button after authentication failed, the callback was not called and I don't know why.
Here is the code:
@IBAction func touchIdAction(_…

maphongba008
- 2,114
- 4
- 20
- 33
6
votes
1 answer
How to add "Touch Id" with "In app Purchase" in Objective c?
I have successfully implemented "In App Purchase" in my project and now i am trying to implement a "Touch Id" to buy a product except asking a "Sign in to iTunes" popup. Here in my code it asks "touch id" and "Sign in to iTunes" popup both one after…

Vaibhav Shiledar
- 939
- 8
- 15
6
votes
1 answer
Swift ios touch id login flow
In my app a user can authenticate/login to my backend using email/password. Now I am thinking of implementing touch ID as well.
But I am confused about the login flow using a touch ID.
Using the code bellow I can easy authenticate a user:
func…

user2636197
- 3,982
- 9
- 48
- 69
6
votes
1 answer
Use of unresolved identifier 'LAContext' in Swift 3
Apple claims to have this class in their arsenal LAContext, but Xcode 8.1 tells me otherwise: Use of unresolved identifier 'LAContext'
My line of code is as follows:
let context = LAContext()
To me this line of code doesn't seams to crazy ;), all…

David Gatti
- 3,576
- 3
- 33
- 64
6
votes
2 answers
Touch ID: Biometry is locked out. Code=-8
Im using Touch id to identify iPhone users in my app, when is use canEvaluatePolicy: LAPolicyDeviceOwnerAuthenticationWithBiometrics to evaluate if the user is eligible for using Touch id, but after many failed tries even if the user is eligible for…

Mutawe
- 6,464
- 3
- 47
- 90
6
votes
1 answer
Orientation issues (landscape) with TouchID authentication
We are using TouchID for our iPad app, which supports both Portrait & Landscape orientation.
According to our understanding, the TouchID authentication dialog doesn't support Landscape orientation, which is still fine; however, upon turning the…

My3
- 187
- 1
- 8
6
votes
1 answer
Is it possible to get TouchID information and compare to a fingerprint database?
I know that with LocalAuthentication, it is easy to embed TouchID in an iOS app.
But is it possible to get the TouchID information and compare it to other fingerprint databases?

Leo
- 24,596
- 11
- 71
- 92
6
votes
4 answers
Import LocalAuthentification.framework crashes on iOS 7.1
Have a problem with usage of LocalAuthentication and support iOS 7.0
when I'm trying to
import LocalAuthentication
I'm getting crash if target iOS version is less than 8.0.
I tried to mark LocalAuthentication.framework as optional in the build…

iiFreeman
- 5,165
- 2
- 29
- 42
5
votes
1 answer
Swift application having weird behavior when closing it
I am developing an application that uses the Face/Touch ID at the opening.
I achieved this by adding this func to my MainViewController():
let context = LAContext()
if context.canEvaluatePolicy(.deviceOwnerAuthentication, error: nil) {
…

Vipera74
- 227
- 3
- 17
5
votes
4 answers
How to show enter password and try again alert view
So I want to make a touchid authentication but if the touchid does not match there will be an alert to enter the password and try again
I am using XCode 9.0.0
@IBAction func ac(_ sender: Any) {
let context:LAContext=LAContext()
if…

Indra Sen
- 111
- 1
- 9
5
votes
1 answer
Is this correct to check FaceID?
Sorry, unavailability of iPhone-X.
After the launch of iPhone-X, everyone wants their application should be compatible with iOS11 and with touchID but the problem is it's too expensive for a developer to test touch ID.
I don't have iPhone to…

Samrez Ikram
- 591
- 5
- 15
5
votes
1 answer
Touch ID not showing StoreKit
I'm using StoreKit for processing In-App purchases, which works perfectly.
My only issue which I couldn't find a solution online is:
In other apps when trying to do an IAP, I'm asked for Touch ID (so it's not my device set up wrong or so) while in…

unixb0y
- 979
- 1
- 10
- 39