Skip to content
This repository has been archived by the owner on Apr 11, 2021. It is now read-only.

Forgot Button not doing anything #71

Open
rkittinger opened this issue Sep 11, 2018 · 1 comment
Open

Forgot Button not doing anything #71

rkittinger opened this issue Sep 11, 2018 · 1 comment

Comments

@rkittinger
Copy link

Hello, what should the Forgot button do? When I press it nothing shows up.
Version 3.4.2

@mteece
Copy link
Collaborator

mteece commented Sep 11, 2018

If you implement the ABLockScreenDelegate forgotPinForPadLockScreenViewController method, when you press the Forgot button the business logic at that point is up to you and your application requirements/features.

For example if you are using ABPadLockScreen to unlock a financial app. If the user forgot their passcode you could implement a UIAlertController in the forgotPinForPadLockScreenViewController method to notify the user to sign out, or even create a workflow to reset their passcode.

A simple example in ExampleViewController.

If you do not need the Forgot button, it can also be hidden.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants