TouchID "On" 对比 "On but suspended"

TouchID "On" vs "On but suspended"

有没有办法确定是否已注册指纹,但由于指纹验证失败次数过多,Touch ID 当前处于 "suspended" 状态?

错误代码可以与 LAError class 进行比较。

func errorMessageForLAErrorCode( errorCode:Int ) -> String{

        var message = ""

        switch errorCode {

        case LAError.AppCancel.rawValue:
            message = "Authentication was cancelled by application"

        case LAError.AuthenticationFailed.rawValue:
            message = "The user failed to provide valid credentials"

        case LAError.InvalidContext.rawValue:
            message = "The context is invalid"

        case LAError.PasscodeNotSet.rawValue:
            message = "Passcode is not set on the device"

        case LAError.SystemCancel.rawValue:
            message = "Authentication was cancelled by the system"

        case LAError.TouchIDLockout.rawValue:
            message = "Too many failed attempts."

        case LAError.TouchIDNotAvailable.rawValue:
            message = "TouchID is not available on the device"

        case LAError.UserCancel.rawValue:
            message = "The user did cancel"

        case LAError.UserFallback.rawValue:
            message = "The user chose to use the fallback"

        default:
            message = "Did not find error code on LAError object"

        }

        return message

    }