Created
July 22, 2015 20:24
-
-
Save evanbarry/fa8fcaab2d1708a8c361 to your computer and use it in GitHub Desktop.
This file contains 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
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