-4
我想顯示GIF動畫,但它沒有工作,他們保持不動。Objecive C - 如何播放動畫GIF圖像
UIView * tak = [[UIView alloc] initWithFrame:CGRectMake(-10, 0, 560, 685)];
UIImage *image = [UIImage imageNamed:@"animated-f.gif"];
UIImageView *imageView = [[UIImageView alloc] initWithImage:image];
imageView.frame = tak.bounds;
[tak addSubview:imageView];
[self.view addSubview:tak];
感謝
喜@ user460024你可以參考此鏈接可能是有益的http://stackoverflow.com/questions/39870379/gif-image-not-show –
[顯示器的可能的複製iOS中的動畫GIF](http://stackoverflow.com/questions/9744682/display-animated-gif-in-ios) – Larme