Can we test Face ID in simulator?
Can we test biometric authentication using the simulator? The iPhone X Simulator shows a menu for Face ID enrollment, but after enabling that, what can I do? How it will recognize a face for authentication? Simulator does not recognise a face but allows you to simulate a matching and non-matching faces, if you've enabled Enrolled option from Face ID . Add following code to your view controller and try with Face-ID import LocalAuthentication class ViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() localAuthentication() } func localAuthentication() -> Void { let