Skip to content

Instantly share code, notes, and snippets.

@evernotegists
Created March 27, 2013 21:06
Show Gist options
  • Save evernotegists/5258005 to your computer and use it in GitHub Desktop.
Save evernotegists/5258005 to your computer and use it in GitHub Desktop.
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation {
BOOL canHandle = NO;
if ([[NSString stringWithFormat:@"en-%@", [[EvernoteSession sharedSession] consumerKey]] isEqualToString:[url scheme]] == YES) {
canHandle = [[EvernoteSession sharedSession] canHandleOpenURL:url];
}
return canHandle;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment