Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我如何以及在哪里放置一个 if 函数来测试用户的电子邮件是否经过验证,如果验证登录用户,如果不显示错误?谢谢你
终于找到了解决办法:
if(PFUser.currentUser()["emailVerified"].isEqual(1)) { //let the user login } else { //don't let the user login }