Ios 更改触摸ID对话框原因
我使用下面的代码通过触摸ID验证用户Ios 更改触摸ID对话框原因,ios,swift,Ios,Swift,我使用下面的代码通过触摸ID验证用户 authenticationContext.evaluatePolicy( .DeviceOwnerAuthenticationWithBiometrics, localizedReason: "Only awesome people are allowed", reply: { [unowned self] (success, error) -> Void in if( success ) { // Fingerprint recogni
authenticationContext.evaluatePolicy(
.DeviceOwnerAuthenticationWithBiometrics,
localizedReason: "Only awesome people are allowed",
reply: { [unowned self] (success, error) -> Void in
if( success ) {
// Fingerprint recognized
// Go to view controller
self.navigateToAuthenticatedViewController()
}else {
// Check if there is an error
if let error = error {
let message = self.errorMessageForLAErrorCode(error.code)
self.showAlertViewAfterEvaluatingPolicyWithMessage(message)
}
} })
它将显示
在显示用户通过触摸ID验证的对话框时,是否有任何方法可以让update localizedReson实时显示最新信息而不显示reshow对话框。是否有任何方法让update localizedReson实时显示最新信息而不显示reshow对话框。-您希望哪种类型的OP?我的意思是,我想在显示您可以更改how@Anbu.karthik的对话框时更改“只允许很棒的人”文本