Apparently iOS8 by default adds a \"iCloud Photo Sharing\" activity to activity views in iOS8 and I haven\'t found any useful documentation regarding it, especially how to expli
Normally you'd set the excludedActivityTypes
property on your UIActivityViewController
instance -- e.g., to exclude posting to Facebook, you'd put UIActivityTypePostToFacebook
in that array.
But it doesn't look like the Built-in Activity Types list (either in the documentation or in UIActiviy.h
) includes a constant for iCloud Photos. That's probably worth filing a bug about.
If you init your UIActivityViewController with full of images, iCloud sharing set to activity types by default. You can add a string in your activityItems array. This move will cause that iCloud sharing to be removed from activityTypes.
NSArray *Items = [NSArray arrayWithObjects: image1, image2, @"", nil];
UIActivityViewController *activityViewController = [[UIActivityViewController alloc] initWithActivityItems:Items applicationActivities:nil];