这是什么错误,请指导到目前为止在谷歌上找不到任何材料。下面是我的代码,它给出了错误:
if GIDSignIn.sharedInstance().hasAuthInKeychain() == false {
GIDSignIn.sharedInstance().signIn()
} else {
if let user = GIDSignIn.sharedInstance().currentUser {
service.authorizer = user.authentication.fetcherAuthorizer()
fetchEvents()
} else {
GIDSignIn.sharedInstance().signInSilently()
}
}
两个错误来了:
Value of type 'GIDSignIn' has no member 'hasAuthInKeychain'
Value of type 'GIDSignIn' has no member 'signInSilently'