How to use system build-in passcode screen to authenticate my App when user clicks Enter Password

Clement Joseph

I'm integrating TouchID into my app, How can I use 'Enter passcode' option present system build-in passcode screen to authenticate my app.? Any one please explain how to handle case 'LAErrorUserFallback' in objective C.

Paul Cezanne

You cannot do that. What you can do is use that option to show your own password screen. In your reply block you check the NSError object and switch off the fallback code.

....replyBlock:^(BOOL success, NSError *error) {

        if (error)
        {
            switch (error.code)
                case LAErrorUserFallback:

Now here you can do whatever your app wants to do for app specific, not device specific, authentication. (Basically, you can do whatever you did before you had Touch ID available.)

Update:

See NicolasMiari's comment, which refers to https://www.secsign.com/fingerprint-validation-as-an-alternative-to-passcodes/ which may have a solution.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

How to use passcode lock scene in my app?

How to build a shiny app that shows the output ONLY when the user clicks a click button?

How to Authenticate user, password with Google App Engine + Java?

How can I open a file in my WPF app, when the user double-clicks on that file?

Use System Passcode For Authentication

How do I display a <p> on screen when the user clicks

My php login system is not redirecting when I use the correct user and password

Enter iPad passcode screen is weird in portrait mode

JWplayer Full screen when user clicks on play

How to automatically enter user password when prompted by terminal

How to run code on shutdown or when user enters wrong passcode in iOS

How to close menu if user clicks anywhere on screen?

How can I make my timer keep running when the iPhone user quits to the home screen or the App Switcher?

Display app when user clicks on notification in Android

How to use Reactjs to authenticate user login using oauth2 Password Grant?

In Install4j8 - How to redirect to some screen when user clicks on Cancel button

In firebase_messaging dev14 How to open a screen when user clicks on the notification (background)

I am trying to stop a loop when user only clicks enter?

How to handle user clicks local notification on Xamarin iOS when the user turns off app?

Electron and macOS: how to customize the 'About <app>' display panel that pops up when user clicks the 'About <app>' menuItem?

AS3 | How to stop replay my app when press ENTER?

How does this SMS Passcode screen work?

How do I authenticate with my Google Cloud Function when using my Firebase App with Google Sign In?

How to make the code pause until the user clicks the enter key?

How to authenticate user with mobile app using Cordova

Use screen lock in my app

How do I get my modal to close when a user clicks on the container?

How do i make my reusable react component saves when the user clicks button?

How can I can change background colour in java when user clicks on a spot on my application window?