Strange RecordVideoAtPathToSavedPhotosAlbum Behavior

We have a video-replicated application and writeVideoAtPathToSavedPhotosAlbum:completionBlock: from ALAssetsLibrary to save the video in the camera’s movie. Most of the time it works very well, but sometimes completionBlock:^(NSURL *assetURL, NSError *error) is called with BOTH parameters equal to nil .

The documentation states that if there is a nil error, there were no errors during the write operation, so assetURL should not be nil . But still we get assetURL == nil and error == nil at the same time, sometimes

When is this possible? Any help is appreciated.

+7
ios objective-c iphone alassetslibrary alasset
source share

No one has answered this question yet.

See related questions:

626
Hide Strange Junk Xcode Logs
thirteen
Swift - download video from a remote URL and save it in a photo album
7
Failed to perform operation using UIImagePickerControler
5
iOS PHPhotoLibrary cannot save video in Camera Roll
5
What is the correct way to record videos in an asset library and then get their attributes
2
Video is not always exported to Camera Roll: NSFileManager removeItemAtPath does not block?
2
How to make incremental email for UIDocument in iCloud?
one
Error saving album using ALAssetLibrary
0
UIImagePickerController - saving recorded video signal with camera error
0
There is no permission to save the image, but the completion of the UIActivityViewController does not return an error

All Articles