Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/ios/116.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/swift/18.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 更改触摸ID对话框原因_Ios_Swift - Fatal编程技术网

Ios 更改触摸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

我使用下面的代码通过触摸ID验证用户

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的对话框时更改“只允许很棒的人”文本