Looking at the ALAssetsLibrary API, I see a few methods for creating new assets:
writeImageDataToSavedPhotosAlbum:metadata:completionBlock:
writeImageToSavedPhotosAlbum:metadata:completionBlock:
writeImageToSavedPhotosAlbum:orientation:completionBlock:
writeVideoAtPathToSavedPhotosAlbum:completionBlock:
These seem to indicate that you should only be creating new assets. My question though is this: Is there a way to make destructive edits to assets? Or do you always create new images for the edits? I’m hoping for the latter as I want each asset to be treated as a unique, created only once asset.
I have found no possible way to remove or alter assets in the library. Its kind of a pain when I create items in the assets library and I cannot remove them. But that appears to be apples wishes. Most likely because they do not want an app to be able to delete images and videos from the users library. Only by going to the camera app or another “Apple” app will the asset be able to be removed.
I kind of wish they would let you popup a delete confirmation window for an asset to let the user decide on a (apple created) confirmation page.