Ios PFUser becomeInBackground未找到

Ios PFUser becomeInBackground未找到,ios,parse-platform,pfuser,Ios,Parse Platform,Pfuser,在parse的博客上,他们说你可以使用: [PFUser becomeInBackground:@"session-token-here"; block:^(PFUser *user, NSError *error) { if (error) { // The token could not be validated. } else { // The current user is n

在parse的博客上,他们说你可以使用:

[PFUser becomeInBackground:@"session-token-here"; block:^(PFUser *user, NSError *error) {
            if (error) {
                // The token could not be validated.
            } else {
                // The current user is now set to user.
            }
        }];

用于在自定义基础上处理登录。然而,我在尝试运行这段代码时遇到了多个错误,基本上是说它找不到becomeInBackground的instanceMethod。发生了什么事?

你在这条直线的中间有一个半结肠。block@Wain我删除了它,并且没有为selector BecomeInBackground获取已知的类方法更新代码并粘贴准确的错误text@Wain确切的代码是我发布的没有分号的代码,确切的错误文本是我在评论中输入的。如果你删除了分号,那么声明的错误就没有意义了。。。