Can we test Face ID in simulator?

前端 未结 5 1805
逝去的感伤
逝去的感伤 2020-12-03 06:43

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?

5条回答
  •  悲哀的现实
    2020-12-03 07:08

    See this article. You can create the Biometrics.m, Biometrics.h, and bridging-header.h files within you UITests folder and update your UI test target to use that bridging header. https://github.com/KaneCheshire/BiometricAutomationDemo

提交回复
热议问题