Pregunta

I have a problem when I register on the screen to registration my app. He carries the data while in parse.com. Only I will not be forwarded to the app, how can I solve that? When I press on to re-register the name already taken.

¿Fue útil?

Solución

You need to implement the delegate methods of PFSignUpViewController, and perform some action once registration is complete. Usually, if the sign up viewcontroller is displayed modally, this will involve dismissing it.

For example:

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

This example project from Parse has a good demo of how to implement a sign up / log in process.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top