Posts

Post not yet marked as solved
21 Replies
9.8k Views
We are using LAContext evaluatePolicy API to show the TouchID prompt in our App.If we place our finger for authentication, then we can see the TouchID prompt and it completes the authentication.What's even more strange is that when we can't see the pop-up window, then shake the device can make it appear.😐 A simple project with code below:#import "ViewController.h" #import @interface ViewController () @end @implementation ViewController - (void)viewDidLoad { [super viewDidLoad]; } - (void)viewDidAppear:(BOOL)animated{ dispatch_async(dispatch_get_main_queue(), ^{ LAContext *context = [[LAContext alloc] init]; [context evaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics localizedReason:@"xxxx" reply:^(BOOL success, NSError *error) { dispatch_async(dispatch_get_main_queue(), ^{ NSLog(@"Verify successful"); }); }]; }); } @endiPhone 6siOS 13-beta6iOS 13-bata1 same behavioriOS 13-beta5 same behavior
Posted Last updated
.