TimOliver / TOPasscodeViewController

A modal passcode input and validation view controller for iOS
MIT License
385 stars 96 forks source link

Adding a 'App Locked for X Minutes' state #17

Open TimOliver opened 6 years ago

TimOliver commented 6 years ago

With the real iOS lock screen, if a user enters a wrong passcode too many times, they'll be locked out of the device for ever increasing amounts of time.

While I think it should be up to the app in question in order to decide what the policy on incorrect passcodes should be, at the very least, the main passcode view controller should have a UI state that reports that the app has been locked, with a button that can allow the user to navigate back to a non-secure part of the app.