Created
March 17, 2013 05:38
-
-
Save akisute/5180299 to your computer and use it in GitHub Desktop.
いくばくかマシに
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)signUpViewController:(PFSignUpViewController *)signUpController didFailToSignUpWithError:(NSError *)error | |
{ | |
DNSLogError(@"Error while signing up: %@", error); | |
UIAlertView *alertView = [[UIAlertView alloc] init]; | |
alertView.title = @"Error while sigining up"; | |
alertView.message = error.localizedDescription; | |
[alertView addButtonItem:[RIButtonItem itemWithLabel:@"OK" action:^{ | |
dispatch_async(dispatch_get_main_queue(), ^{ | |
[self dismissViewControllerAnimated:YES completion:NULL]; | |
}); | |
}]]; | |
[alertView show]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment