Restore certain photo resources

Through the Photos framework, we can access (and thus backup) resources the user created in Photos, such as Adjustments.plist, AdjustmentsSecondary.data, .aae files and more. Is there any way to restore those resources back into the Photos library? (e.g., similar to dropping a combination of .heic and .mov file to restore a Live Photo)

Answered by Engineer in 892641022

Currently the only way to restore an asset is via PHAssetCreationRequest. Effectively the "restore" is creating a new asset. There is no mechanism to restoring the resources of an existing asset.

Are you only considering adjustment related resource data?

Accepted Answer

Currently the only way to restore an asset is via PHAssetCreationRequest. Effectively the "restore" is creating a new asset. There is no mechanism to restoring the resources of an existing asset.

Are you only considering adjustment related resource data?

Restore certain photo resources
 
 
Q