私のアプリはいくつかの処理を行い、ある時点でAVAssetExportSessionを呼び出す必要があります。
セッションがすでに開始されていて、アプリをバックグラウンドで実行した場合、すべてが正常に完了します。ただし、を呼び出す前にアプリをバックグラウンドで実行するとしexportAsynchronouslyWithCompletionHandler
ます。このエラーが発生します:
AVAssetExportSessionStatusFailed Error Domain=AVFoundationErrorDomain Code=-11800 "The operation could not be completed" UserInfo=0x1e550db0 {NSLocalizedFailureReason=An unknown error occurred (-12985), NSUnderlyingError=0x1e574910 "The operation couldn’t be completed. (OSStatus error -12985.)", NSLocalizedDescription=The operation could not be completed}
バックグラウンドでAVAssetExportSessionを開始することは可能ですか?