I want to share several videos in whatsapp.I do this using the UIActivityViewController. First, I store the video on the iPhone and send the URLs (NSURL). If I submit a single URL, it works, but if I send multiple URLs, it does not work. UIActivityViewController also does not show whatsapp icon.
NSURL *urlOne = url; NSURL *urlTwo = url; NSArray *items = [NSArray arrayWithObjects:urlOne,urlTwo,nil]; UIActivityViewController *controller = [[UIActivityViewController alloc] initWithActivityItems:items applicationActivities:nil]; NSArray *excludedActivities = @[UIActivityTypePostToWeibo,UIActivityTypeMail, UIActivityTypePrint, UIActivityTypeCopyToPasteboard, UIActivityTypeAssignToContact,UIActivityTypePostToFlickr, UIActivityTypePostToVimeo,UIActivityTypeAirDrop, UIActivityTypePostToTencentWeibo]; controller.excludedActivityTypes = excludedActivities; [self presentViewController:controller animated:YES completion:nil];
I want to know whatsapp supports multiple video sharing, and if it supports, how to do it?
source share