Tap ID without invitation

I am trying to use Touch ID to authenticate a login in an enterprise app. I was hoping the user would only pop up by default once and then just add a label for any subsequent logins. Use Touch ID or Enter PIN (the way apple does it with a passcode). Does anyone know how to suppress the dialog that comes up using the "evaluationPolicy" function? I've seen other apps do this too, so it should be possible.

[localAuthenticationContext evaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics localizedReason:localizedReasonString reply:^(BOOL success, NSError *error) {
    if (success)
    {
        // continue to app
        NSLog(@"SUCCEED!!!");
    }
    else
    {
        // go back to full login
        NSLog(@"error : %@", [error description]);
        errorCode(code);
        NSLog(@"FAILED!!!");
    }
}];

      

+3
ios touch-id


source to share


No one has answered this question yet

Check out similar questions:

422
iOS - Disable keyboard on touch outside of UITextField
five
Get keychain item using LAContext and touchIDAuthenticationAllowableReuseDuration
4
LAContext evaluationPolicy does not always prompt the user
2
IOS Multi-User Touch ID Key Access Integration
1
Touch ID prompt buttons localization
1
TouchID - New Fingerprint Detection - When did the PolicyDomainState change?
0
Corporate distribution of our app (ios app) via secure website
0
SecItemAdd does not ask for Touch ID
0
If touchID will show if app is minimized



All Articles
Loading...
X
Show
Funny
Dev
Pics