Secure access to your iOS app by adding support for biometric authentication with Swift. Learn how to request user authentication using Touch ID, Face ID, or a user's passcode.
User security is vital to app development and user experience. Biometric authenticationâwhich turns a user's face or fingerprint into a keyâis a useful and powerful method for securing user data within an app. In this course, Bear Cahill takes a deep dive into the topic of biometric authentication, reviewing how to support the Face ID and Touch ID authentication methods in your iOS apps with Swift. Bear demonstrates how to use the LocalAuthentication framework to request user authentication using Touch ID, Face ID, or a user's passcode. Along the way, he details the specifics of authentication policies, shows how to handle a variety of errors, and explains how to handle cases when a user doesnât want to opt for biometric authentication at all.
How to use biometric authentication in iOS using Swift