I created an app that allows users to save and edit videos they upload to the platform. To do this, I created a code to save these videos PHAssetChangeRequest.creationRequestForAssetFromVideo(atFileURL: within a PHPhotoLibrary’s performChanges block. However, these calls are getting error code 41002 (Domain: com.apple.photos.error) and I want to know why!
Check the code in this link
It explains why