我沒有得到有關使用UIActivityViewController.please幫我解決this.thanks提前如何共享一個GIF動畫圖片中的iOS
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;
}
你是什麼意思**共享gif圖像**?請指定並提供代碼和/或屏幕截圖。 – 2014-10-29 06:54:18
請回復我,我們是否可以使用uiactivity查看分享gif動畫圖片 – Suneha 2014-10-29 07:32:09
我已分享gif動畫圖片,請檢查它。 – Suneha 2014-10-29 07:41:46