- User starts the locking mechanism by tapping
Tap To Start
. This sets a boolean to true that we'll check inSceneDelegate
. - The app is restarted or moves away from the foreground.
- The app is initialized.
- We check for the boolean set in
1.
, if it's false we return and continue as normal. - If it's true, we present the
LockViewController
in full screen on the window. LockViewController
tries to authenticate the user, when it succeeds it dismisses itself.
- Add a keypad to
LockViewController
and have the user set a 4-6 digit passcode for the case where biometric auth doesnt work or isn't supported. - Be able to init
LockViewController
in asetup
mode so it can handle creating the passcode as well.