0

When a Touch ID enabled App is first run on iPhone X the user is asked if they want to use Face ID instead. If they decline then Face ID is disabled and the user is never again given the option to use the feature. Short of deleting and re-installing the App is there another way to enable Face ID? The Image for permission is shown below:

FACEID permission

Please tell once I press "Don't allow" and again when I use the application how to check that the permission has not been granted earlier? Based on that I can ask the user to enable by going to settings page but as of now I am stuck on how to determine whether the permission was denied earlier.

User1075
  • 819
  • 15
  • 36

1 Answers1

1

Short of deleting and re-installing the App is there another way to enable Face ID?

Settings -> your App -> Face ID

enter image description here

Please tell once I press "Don't allow" and again when I use the application how to check that the permission has not been granted earlier?

If the following returns FALSE.

if ([myContext canEvaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics error:&authError]) {
Bill
  • 469
  • 2
  • 4
  • I test it on Simulator using FaceID, also on device with TouchID (should have similar behavior, since they share the same API) – Bill Oct 24 '20 at 01:00
  • But if `canEvaluatePolicy:LAPolicyDeviceOwnerAuthenticationWithBiometrics` returns true, it does not mean user has allowed Face ID, it can also mean that device has the capability but user has not yet been asked to allow it? – mixtly87 Dec 03 '22 at 09:59