2014-01-25 74 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從解析對如何實現註冊/登錄過程中的一個很好的示範。