File tree Expand file tree Collapse file tree 2 files changed +9
-0
lines changed
LTHPasscodeViewController Expand file tree Collapse file tree 2 files changed +9
-0
lines changed Original file line number Diff line number Diff line change 2222 @brief Called when the passcode was entered successfully.
2323 */
2424- (void )passcodeWasEnteredSuccessfully ;
25+ /* *
26+ @brief Called when the TouchID/FaceID fails or is cancelled.
27+ */
28+ - (void )biometricsAuthenticationFailed ;
2529/* *
2630 @brief Called when the passcode was enabled.
2731 */
Original file line number Diff line number Diff line change @@ -376,6 +376,11 @@ - (void)_setupFingerPrint {
376376
377377 if (error || !success) {
378378 [self _handleBiometricsFailureAndDisableIt: false ];
379+
380+ if ([self .delegate respondsToSelector: @selector (biometricsAuthenticationFailed )]) {
381+ [self .delegate performSelector: @selector (biometricsAuthenticationFailed )];
382+ }
383+
379384 return ;
380385 }
381386
You can’t perform that action at this time.
0 commit comments