Created
March 27, 2013 21:06
-
-
Save evernotegists/5258005 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 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