注册后用解析自动转发

时间:2014-01-25 10:57:29

标签: ios view registration parse-platform

我在屏幕上注册以注册我的应用时遇到问题。他在parse.com上携带数据。只有我不会被转发到应用程序,我该如何解决?当我按下以重新注册已经采取的名称时。

1 个答案:

答案 0 :(得分:0)

您需要实现PFSignUpViewController的委托方法,并在注册完成后执行一些操作。通常,如果注册视图控制器以模态方式显示,则这将涉及解除它。

例如:

// Sent to the delegate when a PFUser is signed up.
- (void)signUpViewController:(PFSignUpViewController *)signUpController didSignUpUser:(PFUser *)user {
    [self dismissModalViewControllerAnimated:YES]; // Dismiss the PFSignUpViewController
}

Parse的这个example project有一个很好的演示如何实现注册/登录过程。