It seems like modifications to a particular PHAsset
photo keep a version of the original around somehow, in order to be able to do this:
The PHImageManager: requestImageForAsset:
reference documentation gives some detail of what's going on here.
It seems like you can never overwrite the original image data (the asset is technically just metadata) as you can specify PHImageRequestOptions
for an image request which include a version
of PHImageRequestOptionsVersionOriginal
. From the PHImageRequestOptions
documentation:
Request the original, highest-fidelity version of the image asset.
The resulting image is originally captured or imported version of the asset, regardless of any edits made.