isCredentialSet()
返回是否设置了指定类型的证书。
声明
func isCredentialSet(_ type: LACredentialType) -> Bool
参数
type
证书的类型。有关可能的值,请参阅LACredentialType。
返回值
如果证书已经被设置则返回true
,否则返回false
。
其他内容
管理证书
● func setCredential(Data?, type: LACredentialType)
设置应用程序提供的证书,以在鉴定身份验证时使用。
● var touchIDAuthenticationAllowableReuseDuration: TimeInterval
Touch ID身份验证允许的重用时间间隔。