yankodimitrov/SwiftPasscodeLock

How to verify if passcode was successfully entered

bitbybitllc opened this issue · 1 comments

I'm displaying the passcode presenter if touchID is not available and if the passcode is successfully entered I want to login to my parse database using the keychain username and password stored.

But if the passcode is not entered correctly I don't want to login using the keychain information.

After passcodeLockPresenter.presentPasscodeLock()

How do I verify if it was successfully entered or not?

Wont this work ?

passcodeLockPresenter.passcodeLockVC.successCallback = { data in
            print(data)
}