因此,我正在尝试检查Firebase是否已验证电子邮件。谷歌文档中没有关于swift的文档,在线所有内容都已过时。
答案 0 :(得分:0)
要将电子邮件发送到verify the user's email address:
Auth.auth().currentUser?.sendEmailVerification { (error) in // ... }
要检查email address was verified:
if Auth.auth().currentUser?.isEmailVerified {
// ...
}