#If OBJC
- (void) setCH: (UIActivityViewController *) avc {
[avc setCompletionWithItemsHandler: ^(NSString * __nullable activityType, BOOL completed, NSArray * __nullable returnedItems, NSError * __nullable activityError)
{
NSLog(@"completed : %d", completed);
NSLog (@"activityType : %@", activityType);
NSLog (@"activityError : %@", activityError);
}
]; }
#End If