Requests an export session for writing the video asset’s data to a file, to be loaded asynchronously.
- iOS 8+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 10+
The video asset for which an export session is to be created.
Options specifying how Photos should handle the request and notify your app of progress or errors. For details, see
The export preset name for exporting the asset. For available presets, see
A block that Photos calls after loading the asset’s data and preparing the export session.
The block takes the following parameters:
A numeric identifier for the request. If you need to cancel the request before it completes, pass this identifier to the
When you call this method, Photos downloads the video data (if necessary) and creates an export session. It then calls your
result block to provide the requested video.