【发布时间】:2017-09-28 03:14:26
【问题描述】:
由于某种原因,我的这个功能不起作用。
@IBAction func signIn(_ sender: Any) {
if emailTextField.text !="" && passwordTextField.text !="" {
FIRAuth.auth()?.signIn(withEmail: emailTextField.text!, password: passwordTextField.text!, completion: user, error) in
if error != nil {
} else {
print("Sucessfully logged in");
}
}
performSegue(withIdentifier: CONTACTS_SEGUE, sender: nil);
}
这些是我得到的错误: http://prntscr.com/f2iuye
【问题讨论】:
标签: ios swift xcode cocoa-touch