Last active
August 29, 2015 14:28
-
-
Save glesage/4a718eeada3ff92e74c5 to your computer and use it in GitHub Desktop.
branch providers
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
UIActivityItemProvider *itemProvider = [Branch getBranchActivityItemWithParams:params | |
feature:@"invite" | |
stage:@"logged_in" | |
tags:@[@"ios"]]; | |
// VS // | |
AmbassadorProvider *activityItem = [[AmbassadorProvider alloc] initWithPlaceholderItem:@"Free laundry from Starchup!"]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
UIActivityViewController *shareViewController = [[UIActivityViewController alloc] initWithActivityItems:@[itemProvider, activityItem] applicationActivities:nil];