Expanded Library

Supporting Face ID and Touch ID Authentication in iOS Using Swift 5

by Karoly Nyisztor

In this course, you will walk through the process of building a SwiftUI app that supports Face ID and Touch ID authentication. You'll learn how to use the LocalAuthentication framework and how to handle errors and edge cases.

What you'll learn

Our smartphones store a lot of sensitive and personal information. As developers, we need to make sure that attackers can't access user data.

In this course, Supporting Face ID and Touch ID Authentication in iOS Using Swift 5, you'll learn about iOS security fundamentals and biometric authentication.

First, you'll get to explore the sophisticated hardware solutions that protect Apple devices against attackers. Next, you'll get insights about the inner workings of fingerprint and facial recognition. You'll also learn how Apple protects biometric data privacy.

Next, you'll get hands-on with developing a SwiftUI-based app that offers advanced security features and lets users authenticate using biometrics.

Then, you'll get to implement a secure storage class for user credentials using Keychain services, as well as add username/password-based authentication features. Finally, you'll see integrating biometric authentication features. Beyond adding support for Touch ID and Face ID, you'll also learn how to deal with errors and use fallback strategies. You'll see how to handle the biometry lockout problem, and allow the user to unlock biometry from within the app.

After finishing this course, you'll know how to build applications that protect sensitive user data efficiently and provide the latest biometric authentication features supported by modern iOS devices.

About the author

Károly Nyisztor is a professional software engineer, instructor, and author. So far, he has inspired over 150,000 students worldwide. As an instructor, he aims to share his more than 25 years of software development expertise and change the lives of students throughout the world. He's passionate about helping people reveal hidden talents and guide them into the world of startups and programming. Karoly has worked for companies like Apple, Siemens, and SAP. As a software architect, he has desi... more

Ready to upskill? Get started