PhotoKit IMG_XXXX names for videos?

I save stills and videos with PHAssetCreationRequest. I do not set originalFilename.

Photos saved with addResource(with: .photo, data:) show originalFilename values like IMG_XXXX.HEIC in PHAssetResource. Videos saved with addResource(with: .video, fileURL:) from AVCaptureMovieFileOutput keep the temp file name (a UUID .mov).

The docs say that if originalFilename is omitted, Photos infers a name from the file URL when one is provided, otherwise it generates a name.

Is there a supported way for a third-party app to get a system IMG_XXXX original filename for a newly saved video?

Thank you.

PhotoKit IMG_XXXX names for videos?
 
 
Q