We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
biometricsAuthenticationFailed
1 parent 12954bb commit b6a8578Copy full SHA for b6a8578
2 files changed
LTHPasscodeViewController/LTHPasscodeViewController.h
@@ -22,6 +22,10 @@
22
@brief Called when the passcode was entered successfully.
23
*/
24
- (void)passcodeWasEnteredSuccessfully;
25
+/**
26
+ @brief Called when the TouchID/FaceID fails or is cancelled.
27
+ */
28
+- (void)biometricsAuthenticationFailed;
29
/**
30
@brief Called when the passcode was enabled.
31
LTHPasscodeViewController/LTHPasscodeViewController.m
@@ -376,6 +376,11 @@ - (void)_setupFingerPrint {
376
377
if (error || !success) {
378
[self _handleBiometricsFailureAndDisableIt:false];
379
+
380
+ if ([self.delegate respondsToSelector: @selector(biometricsAuthenticationFailed)]) {
381
+ [self.delegate performSelector: @selector(biometricsAuthenticationFailed)];
382
+ }
383
384
return;
385
}
386
0 commit comments