Черепаха событие SubWCRev.exe перед сборкой

Вам необходимо представить свое предупреждение после его создания. Добавьте следующий код после добавления действия:

self.present(alert, animated: true, completion: nil)

Отредактированная версия вашего кода:

@IBAction func recuperarSenha(_ sender: Any) {

  Auth.auth().sendPasswordReset(withEmail: self.loginTextView.text!) { error in
    if error != nil {
        print("problems with email field")

        let alert = UIAlertController(title: "Couldn't send recover message", message: "Check if e-mail field is properly filled.", preferredStyle: .alert)
        alert.addAction(UIAlertAction(title: "OK!", style: .default, handler: nil))
        self.present(alert, animated: true, completion: nil)


    }
  }
}
10
задан Belliez 16 February 2009 в 10:11
поделиться

1 ответ

Я попытался бы поместить запаздывающую точку:

"$(SolutionDir)."
15
ответ дан 3 December 2019 в 22:39
поделиться
Другие вопросы по тегам:

Похожие вопросы: