iOS Platform & SwiftUI (50 Qs)•Part 3: Instruments Profiling, App Architecture & Production Hardening (25 - 35)
How do you implement biometric authentication with LocalAuthentication (Face ID / Touch ID)?
senior LevelPerformanceSecurity & AuthSystem Design
In Simple Words:
Use LAContext.evaluatePolicy(.deviceOwnerAuthenticationWithBiometrics). Cryptographic credentials should be saved in Keychain protected by kSecAccessControlBiometryAny.