Post not yet marked as solved
Click to stop watching this thread.
You have stopped watching this post. Click to start watching again.
contentPostList.repliesup-voted.tooltip
I fix this bug.LAContext *context = [[LAContext alloc]init]; NSError *error; if ([fallbackTitle isKindOfClass:NSString.class]) { context.localizedFallbackTitle = fallbackTitle; }else { context.localizedFallbackTitle = @""; } BOOL canEvaluate = [context canEvaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics error:&error]; if (canEvaluate) { // It's working !!! if (@available(iOS 13.0, *)) { [context evaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics localizedReason:[self biometricsText] reply:^(BOOL success, NSError * _Nullable error) { }]; } [context evaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics localizedReason:[self biometricsText] reply:^(BOOL success, NSError * _Nullable error) { //TODO: }]; }