I have integrated with UIActivityViewController for sharing images to Facebook:
NSArray* dataToShare = imageArray; //This is my image array
activityViewController =
[[UIActivityViewController alloc] initWithActivityItems:dataToShare
applicationActivities:nil];
[[[self parentViewController] parentViewController] presentViewController:activityViewController animated:YES completion:nil];
Sharing is working fine, but there is a problem while sharing multiple images. If there are more than 5 images, it only shares the first 5; the rest are ignored. The same problem occurs while saving the images to the camera roll, but for mail composer, all the images are there.
How can I solve this issue?