Skip to content

Instantly share code, notes, and snippets.

@rcoh
Last active December 20, 2015 03:29
Show Gist options
  • Save rcoh/6064063 to your computer and use it in GitHub Desktop.
Save rcoh/6064063 to your computer and use it in GitHub Desktop.
//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