RavikanthM
RavikanthM

Reputation: 608

Can i change the action name in Touch ID pop-up from "Enter password" to "Enter passcode"?

enter image description here

In our application we need "Enter Passcode", but by default TouchID pop-up shows "Enter password" when user touchID authentication failed.This may confuse users because the same user has another password for different purpose.

Can I change this?

Upvotes: 2

Views: 1081

Answers (1)

gvizeu
gvizeu

Reputation: 59

Yes, you can change it with:

 let authenticationContext = LAContext()
 authenticationContext.localizedFallbackTitle = "Enter passcode"

Upvotes: 1

Related Questions