I am creating an app where a user can store other peoples information and I would like to allow users to protect the information stored in my app using a passcode or Touch ID (If their device supports it).
I have already got the Touch ID part working thanks to apple's documentation, but I am kind of stuck on how to implement the passcode lock. Will i have to create another view controller for that passcode-entry? How can I ensure that my app does not have access to users passcodes (in case the app gets hacked or run on a jailbroken device)? Does Apple provide a framework or library for this purpose?
Can someone point me to some source code or documentation I can use?
You can try this library, which looks very promising and its written in Swift from @yankodimitrov. SwiftPasscodeLock
You could use a library like VENTouchLock
Or you could look through its implementation and see how it works in order to replicate it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With