Open Ashotjlavyan opened 4 years ago
Is it possible add completion for share action? In iOS must be set completionWithItemsHandler for a ActivityViewController
completionWithItemsHandler
ActivityViewController
activityViewController.completionWithItemsHandler = ^(NSString *activityType, BOOL completed, NSArray *returnedItems, NSError *error) { if (error) { result(@-2); } else if (completed) { // user shared an item result(@0); } else { // user cancelled result(@-1); } };
Is it possible add completion for share action? In iOS must be set
completionWithItemsHandler
for aActivityViewController