Face/Touch ID
Use FaceID-Biometric to lock/unlock your app feature with biometric authorities. You can implement this functioanity by using two line of code.
To run the FaceID-Biometric project, clone the repo, and run the project.
OR
Manually -> Copy the folder named "Biometric" and paste to your codes target directory.
![](https://private-user-images.githubusercontent.com/154659783/344379877-29bf39cb-9f16-43c9-8ae4-5c6fcfea58d6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxNjgyNjIsIm5iZiI6MTcyNjE2Nzk2MiwicGF0aCI6Ii8xNTQ2NTk3ODMvMzQ0Mzc5ODc3LTI5YmYzOWNiLTlmMTYtNDNjOS04YWU0LTVjNmZjZmVhNThkNi5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjQwOTEyJTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI0MDkxMlQxOTA2MDJaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04ZDRmODI2ODBlYjRjMTM5N2I2YWRkODA4ZThlYmFiOGVkZTEzNjBkZjhhN2RmZWY2OGYxOWFjOGE1MzY3NTRhJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZhY3Rvcl9pZD0wJmtleV9pZD0wJnJlcG9faWQ9MCJ9.ScJZ3ufbcE7PKH0gdnbk1Tppobtc9bwI8k3nA7h2lec)
Step 1 : Integrate the files to your project
Step 2 : Check either biometric enrolled in current device or not using below method
BiometricManager.checkBiometricType()
Step 3 : Authenticate the user with below method
BiometricManager.shared.authenticateUser()
- Xcode 14 to onwards
- iOS 16,*
- iPad OS 16,*
- Swift 5.0
raman43mann, rjmann43@gmail.com , Linkedin : https://www.linkedin.com/in/raman-mann-957201154
FaceID-Biometric is available under the MIT license. See the LICENSE file for more info.