 <p>Here is a sample of how to use <code>UIActivityViewControllerCompletionHandler</code>:</p> <pre><code>UIActivityViewController *activityViewController = [[UIActivityViewController alloc] initWithActivityItems:@[@"abc", someImage] applicationActivities:nil]; [activityViewController setCompletionHandler:^(NSString *activityType, BOOL completed) { NSLog(@"%@, %d", activityType, completed); }]; activityViewController.excludedActivityTypes = @[UIActivityTypeAssignToContact, UIActivityTypeSaveToCameraRoll]; [self presentViewController:activityViewController animated:YES completion:nil]; </code></pre>