Build a FaceID Authentication System in SwiftUI

DesignCode on YouTubeWatch on YouTube

SaveMark complete

Sign in to save videos and track what you’ve finished.

BeginnerUI39 min

About this video

This tutorial builds a biometric login screen in SwiftUI that uses Face ID or Touch ID and falls back to credentials login when biometrics fail or are unavailable. It is aimed at beginners following along in Xcode.

What you’ll learn

  • Create a SwiftUI login view in an Xcode project
  • Check the device biometry type and authenticate with Face ID or Touch ID
  • Handle authentication errors and fall back to credentials login