Instance Method export Asynchronously With Completion Handler:
Starts the asynchronous execution of an export session.
iOS 4.0+ macOS 10.7+ Mac Catalyst 13.0+ Beta tvOS 9.0+ Declaration - ( ) void exportAsynchronouslyWithCompletionHandler:( ) void (^)( void) handler;
A block that is invoked when writing is complete or in the event of writing failure.
This method starts an asynchronous export operation and returns immediately.
signals the terminal state of the export session, and if a failure occurs, status describes the problem. error
If internal preparation for export fails,
is invoked synchronously. The handler may also be called asynchronously, after the method returns, in the following cases:
If a failure occurs during the export, including failures of loading, re-encoding, or writing media data to the output.
is invoked. cancel Export
After the export session succeeds, having completely written its output to the
. output URL See Also Exporting Media error
Describes the error that occurred.
Provides an estimate of the maximum duration of the exported media.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.
Learn more about using Apple's beta software