1 2 3 4 5 6 7 8 9
| typedef NS_ENUM(NSInteger, LABiometryErrorType) { LABiometryError_AuthenticationFailed = LAErrorAuthenticationFailed, // 尝试失败次数过多 LABiometryError_UserCancel = LAErrorUserCancel, // 用户取消 LABiometryError_UserFallback = LAErrorUserFallback, // 备选验证 LABiometryError_PasscodeNotSet = LAErrorPasscodeNotSet, // 没有设置密码 LABiometryError_BiometryNotAvailable = LAErrorTouchIDNotAvailable, // 不支持验证功能 LABiometryError_BiometryNotEnrolled = LAErrorTouchIDNotEnrolled, // 没有添加生物特征数据 LABiometryError_BiometryLockout = LAErrorTouchIDLockout // 验证功能被锁定 };
|