Closed stannie closed 9 years ago
In the new version you have an option to set the maximumInccorectPasscodeAttempts
after the user reaches that number of incorrect passcode attempts a notification with name PasscodeLockIncorrectPasscodeNotification
will be posted on the default notification center.
Thanks!
Add the option to specify the maximum number of attempts
M
to enter a PIN. If specified, and when this number of attemptsM
is reached, the App will be informed of this. In our app, we would e.g. erase the App data.Nice to have: option to additionally specify the number of attempts
N
after which new PIN entry will be disabled for2^(A-N+1)
seconds - i.e. with exponential back off - whereA
is the current attempt.