Skip to content

Instantly share code, notes, and snippets.

@evanbarry
Created July 22, 2015 20:24
Show Gist options
  • Save evanbarry/fa8fcaab2d1708a8c361 to your computer and use it in GitHub Desktop.
Save evanbarry/fa8fcaab2d1708a8c361 to your computer and use it in GitHub Desktop.
Branch *branch = [Branch getInstance];
[branch initSessionWithLaunchOptions:launchOptions andRegisterDeepLinkHandler:^(NSDictionary *params, NSError *error) {
if (!error) {
// params are the deep linked params associated with the link that the user clicked -> was re-directed to this app
// params will be empty if no data found
// ... insert custom logic here ...
NSLog(@"params: %@", params.description)
}
}];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment