Last active
December 20, 2015 03:29
-
-
Save rcoh/6064063 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
//This method is used instead of the handleOpenURL method because it is depreciated in iOS 6 and only one of the methods can be used | |
-(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation { | |
if ([Ink openURL:url sourceApplication:sourceApplication annotation:annotation]) { | |
return YES; | |
} | |
// Add whatever other url handling code your app requires here | |
return NO; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment