Created
March 9, 2012 20:40
-
-
Save nwg/2008558 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
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { | |
[Socialize storeUIErrorAlertsDisabled:YES]; | |
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(errorNotification:) name:SocializeUIControllerDidFailWithErrorNotification object:nil]; | |
return YES; | |
} | |
- (void)errorNotification:(NSNotification*)notification { | |
NSError *error = [[notification userInfo] objectForKey:SocializeUIControllerErrorUserInfoKey]; | |
NSLog(@"Error: %@", [error localizedDescription]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment