本文介绍了如何从相机胶卷中删除照片?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我可以将照片写到相机胶卷上,但是如何删除照片呢?
I can write photos to camera roll, but how can I delete one?
我记得几年前有人说这是不可能的,但是我相信我最近看过一款做到这一点的应用程序.
I remember a couple years ago someone said it is impossible, but I believe I have seen an app recently that did it.
推荐答案
现在可以(自iOS 8开始).希望这对从Google最终来到这里的其他人有所帮助.
This is now possible (since iOS 8). Hopefully this helps other folks who end up here from Google.
为此,请检查PHAssetChangeRequest
类的deleteAssets
方法.
To do this, check out the deleteAssets
method of the PHAssetChangeRequest
class.
这篇关于如何从相机胶卷中删除照片?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!