我在Xcode 8中使用了Swift 3,並且在代碼中獲得了此門。有什麼方法可以解決它嗎?我很感激任何人都可以幫忙。Google身份驗證使用Firebase
FIRAuth.auth()?.signIn(with: credential, completion: {(user: FIRUser?, error: NSError?) in
if error != nil {
print(error!.localizedDescription)
return
}else {
print(user?.email)
print(user?.displayName)
錯誤:下面我已經添加了名爲「用戶」爲用戶對象
Cannot convert value of type '(FIRUser?, NSError?) ->()' to expected argument type 'FIRAuthResultCallback?'