Как поделиться анимированными изображениями в iOS
Я не получаю никакой идеи об обмене анимированными изображениями .gif с помощью UIActivityViewController.please помогите мне решить эту проблему. Спасибо заранее
see this image .i am displaying this type of images and to share these images I am using uiactivity view but it is not animating .it's just displaying image
if(imgFrameCount==1)
{
imgFrameCount++;
NSURL *url1=[[NSBundle mainBundle]URLForResource:@"animated2" withExtension:@"gif"];
self.firstImage=[UIImage animatedImageWithAnimatedGIFData:[NSData dataWithContentsOfURL:url1]];
self.frameImage.image = self.firstImage;
}
else if (imgFrameCount==2)
{
imgFrameCount++;
NSURL *url2=[[NSBundle mainBundle]URLForResource:@"animated3" withExtension:@"gif"];
self.firstImage=[UIImage animatedImageWithAnimatedGIFData:[NSData dataWithContentsOfURL:url2]];
self.frameImage.image = self.firstImage;
}