将URL中的GIF图像保存到相机胶卷

我正在尝试使用以下代码将URL从URL保存到相机胶卷:

var image = UIImage(data: NSData(contentsOfURL: self.imageView.sd_imageURL())!) UIImageWriteToSavedPhotosAlbum(image, nil, nil, nil) 

但保存后,GIF成为一个静止的图像,任何人都可以帮助我? 谢谢!

尝试这个:

 import AssetsLibrary let image = NSData(contentsOfURL: url) ALAssetsLibrary().writeImageDataToSavedPhotosAlbum(image, metadata: nil, completionBlock: { (assetURL: NSURL!, error: NSError!) -> Void in print(assetURL) })