I am not getting any idea about sharing an animated .gif images using UIActivityViewController.please help me to resolve this.thanks in advance
see this imag
FWIW, I was having the same problem when trying to include a UIImage in the ActivityItems array. It will not work w/ a generic UIImage, nor a UIImage using the UIImage+animagedGIF category, nor FLAnimatedImage.
To resolve this problem, at least on iOS8, simply add the gif to the ActivityItems array as an NSData object rather than UIImage.
For example, assuming the gif is being requested from a URL:
NSURL *imagePath = [NSURL URLWithString:@"http://i.imgur.com/X4oonnm.gif"];
NSData *animatedGif = [NSData dataWithContentsOfURL:imagePath];
NSArray *sharingItems = [NSArray arrayWithObjects: animatedGif, nil];
UIActivityViewController *activityController = [[UIActivityViewController alloc] initWithActivityItems:sharingItems applicationActivities:nil];