标签: swift firebase firebase-authentication facebook-login
我通过Firebase实施了Facebook登录,但我收到user.uid为零的错误。
user.uid
FIRAuth.auth()?.signInWithCredential(credential) { (user, error) in if user == nil || user!.uid.isEmpty { print("User UID is nil") } )}
我该如何解决?