Closed faec closed 5 years ago
This is related to #3 but is a better solution for me because removing / replacing the cancel button outright makes it impossible for the user to backspace (since they're the same button). This code still shows the "Delete" case even when allowCancel is set to NO, it just prevents the display / trigger of the "Cancel" case.
Sorry for the delay! Thanks for the PR!
Adds a new "allowCancel" property on TOPasscodeViewController that turns off the default cancel button when set to NO, for use when the user can't proceed in the app at all without entering a passcode.