我的应用在进行某些处理时需要调用 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?