【发布时间】:2013-07-04 04:25:24
【问题描述】:
如何将动画 GIF 写入 iOS 相机胶卷?我知道相册应用程序无法播放动画,但例如我应该能够在发送电子邮件等时导入它。
我试过了:
UIImageWriteToSavedPhotosAlbum([UIImage imageWithData:self.imageData], nil, nil, nil);
但这似乎将其转换为 jpg。
【问题讨论】:
-
您可以使用 PHPhotoLibrary 保存 GIF。 Reference
-
您可以使用 PHPhotoLibrary 保存 GIF stackoverflow.com/a/54115672/8484047>