PHImageManager requestLivePhotoForAsset with PHImageRequestOptionsVersionOriginal returns the edited version

Hi,


I am trying to retrieve the original version of an edited live photo from the Photo LIbrary.
To do so, I am calling the code below.
I tried different combination of targetSize / contentMode / deliveryMode and PHLivePhotoRequestOptions.version but nothing change: PHImageManager always returns the edited version.

For the same photo, calling PHImageManager.requestImageForAsset with PHImageRequestOptions.version set to PHImageRequestOptionsVersionUnadjusted or PHImageRequestOptionsVersionOriginal returns the original version.


- (PHLivePhotoRequestID)retrieveLivePhotoFromAsset:(PHAsset *)asset
                                 completionHandler:(void (^)(PHLivePhoto * _Nullable livePhoto))completionHandler {
    PHImageManager *imageManager = [PHImageManager defaultManager];
    PHLivePhotoRequestOptions *livePhotoRequestOption = [[PHLivePhotoRequestOptions alloc] init];
    livePhotoRequestOption.deliveryMode = PHImageRequestOptionsDeliveryModeOpportunistic;
    livePhotoRequestOption.networkAccessAllowed = NO;
    if (asset.sncr_edited == YES) {
        livePhotoRequestOption.version = PHImageRequestOptionsVersionOriginal;
    }
  
    return [imageManager requestLivePhotoForAsset:asset
                                       targetSize:PHImageManagerMaximumSize
                                      contentMode:PHImageContentModeDefault
                                          options:livePhotoRequestOption
                                    resultHandler:^(PHLivePhoto * _Nullable livePhoto, NSDictionary * _Nullable statusInformation) {
                                        completionHandler(livePhoto);
    }];
}


Does anybody see the same or is ther a specific combination of parameter to set to get the original version of an edited photo?

Thanks.

I forgot to say: I am on iPhone 7+, iOS 11.2.1

Hello we are now in 2024, I'm with a new Apple ID but still facing the same issue as described above. Context is now iOS 15 and Xcode 15.4. If we request a live photo using PHImageManager.requestLivePhotoForAsset() method with PHImageRequestOptionsVersionUnadjusted, which should return unedited version as per Apple documentation. But Paired video returned by this method is edited. We tried to request with PHImageRequestOptionsVersionOriginal but observed same issue. Anyoe else has seen this issue.

PHImageManager requestLivePhotoForAsset with PHImageRequestOptionsVersionOriginal returns the edited version
 
 
Q