Cannot cancel touchID on iPad

Quick question.

I implemented touchID in a small hobby project, just to try it out.

but after writing code like

    LAContext *context = [[LAContext alloc] init];
    context.localizedFallbackTitle = @"";
    NSError   *error;
    BOOL success = [context canEvaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics error:&error];

    if (success) {
         [context evaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics localizedReason:NSLocalizedString(@"Unlock account", nil) reply:^(BOOL success, NSError *error) {

            if (error.code == LAErrorUserCancel) {
                NSLog(@"Canceled");
             }
         }];
     }

TouchID success works. But it looks like I cannot press the cancel button to remove the warning / popup window.

Thank!

Btw I have iOS 8.1.3 (I know that all this works on iPhone 5s iOS 8.2)

ADDED: I compared a little more between the iPhone and the iPad application, and it seems that the Cancel button is not even touched on the iPad. I have a very striped app, just UIViewControllera UIButtonand UIView. Therefore, I believe that this is Apple’s mistake, but I want to confirm if anyone else has this problem, and if I should contact Apple directly.

+4
1

! - . iOS / iPad. , . ( Apples TouchID, , .) , Apple!:-P

+2

All Articles