Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Biometric Authentication for iOS in Swift

via LinkedIn Learning


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
  • What you should know
1. Biometric Concepts
  • Overview of biometrics
  • App security
  • Apple guidelines
2. iOS App Development
  • Xcode project preparation
  • LocalAuthentication context
  • Evaluation policy check
  • Evaluating a policy
  • Notifying the user for Face ID
3. Policy Specifics
  • LocalAuthentication policies
  • Device owner authentication
  • Authentication with biometrics
  • Biometric types
  • Reuse duration
4. Handling Outcomes
  • Authentication fails
  • Handling cancels
  • Handling fallback
  • Next steps

Taught by

Bear Cahill

Related Courses


Start your review of Biometric Authentication for iOS in Swift

Never Stop Learning!

Get personalized course recommendations, track subjects and courses with reminders, and more.

Sign up for free