ALAssetsLibraryWriteDataEncodingError
The data contained data with the wrong encoding.
Declaration
var ALAssetsLibraryWriteDataEncodingError: Int { get }Discussion
This error may be returned in the completion block for ALAssetsLibrary/writeVideoAtPath(toSavedPhotosAlbum:completionBlock:) and ALAssetsLibrary/writeImage(toSavedPhotosAlbum:orientation:completionBlock:) as well as the completion selector for UIImageWriteToSavedPhotosAlbum(_:_:_:_:) and UISaveVideoAtPathToSavedPhotosAlbum(_:_:_:_:).
See Also
Constants
ALAssetsLibraryUnknownErrorALAssetsLibraryWriteFailedErrorALAssetsLibraryWriteBusyErrorALAssetsLibraryWriteInvalidDataErrorALAssetsLibraryWriteIncompatibleDataErrorALAssetsLibraryWriteDiskSpaceErrorALAssetsLibraryDataUnavailableErrorALAssetsLibraryAccessUserDeniedErrorALAssetsLibraryAccessGloballyDeniedError