Instance Property

error

Describes the error that occurred.

Declaration

@property(nonatomic, readonly) NSError *error;

Discussion

This property describes the error if the export status is AVAssetExportSessionStatusFailed or AVAssetExportSessionStatusCancelled. If there is no error to report, the value of this property is nil.

See Also

Exporting Media

- exportAsynchronouslyWithCompletionHandler:

Starts the asynchronous execution of an export session.

- cancelExport

Cancels the execution of an export session.

AVAssetExportSessionStatus

A set of statuses used for relaying the state of an export session.

estimatedOutputFileLength

The estimated size, in bytes, of the exported file.

maxDuration

Provides an estimate of the maximum duration of the exported media.