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.