2014-01-25 75 views
-2

我在注册屏幕上注册我的应用程序时出现问题。他在parse.com中传输数据。只有我不会被转发到应用程序,我该如何解决?当我按下重新注册已经采用的名称时。注册后自动转发并解析

+0

你能否在你的问题中增加一些细节?目前还不清楚你的问题是什么。你在使用Parse的'PFSignUpViewController'吗? –

+0

是的,我使用“PFSignUpViewController”。 – user3234875

+0

如果您希望他人帮助您,请添加更多详细信息。 – footyapps27

回答

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 
} 

example project从解析对如何实现注册/登录过程中的一个很好的示范。