File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -657,7 +657,7 @@ linkProperties.feature = @"sharing";
657657[branchUniversalObject showShareSheetWithLinkProperties:linkProperties
658658 andShareText:@"Super amazing thing I want to share!"
659659 fromViewController:self
660- andCallback:^ {
660+ completion:^(NSString *activityType, BOOL completed) {
661661 NSLog(@"finished presenting");
662662}];
663663```
@@ -675,7 +675,7 @@ linkProperties.addControlParam("$ios_url", withValue: "http://example.com/ios")
675675branchUniversalObject.showShareSheetWithLinkProperties (linkProperties,
676676 andShareText : " Super amazing thing I want to share!" ,
677677 fromViewController : self ,
678- andCallback : { () -> Void in
678+ completion : { () -> Void in
679679 NSLog (" done showing share sheet!" )
680680})
681681```
@@ -688,7 +688,7 @@ branchUniversalObject.showShareSheetWithLinkProperties(linkProperties,
688688
689689** fromViewController** :
690690
691- ** andCallback ** :
691+ ** completion ** :
692692
693693#### Returns
694694
You can’t perform that action at this time.
0 commit comments