我在屏幕上注册以注册我的应用时遇到问题。他在parse.com上携带数据。只有我不会被转发到应用程序,我该如何解决?当我按下以重新注册已经采取的名称时。
答案 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有一个很好的演示如何实现注册/登录过程。