Reports the compatibility of an export present, asset, and output file type to the specified block.
- iOS 6.0+
- macOS 10.9+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
The name of the preset template for the export operation.
For possible values, see Export Preset Names for Device-Appropriate QuickTime Files, Export Preset Names for QuickTime Files of a Given Size,
AVAsset, Export Preset Name for iTunes Audio, and Export Preset Name for Pass-Through.
Export Session .Status .cancelled
The asset object that you are planning to export.
The block to execute with the results. This method makes a copy of the specified block. This parameter must not be
This block takes a single Boolean parameter and returns no result. The parameter contains the value
trueif the combination of options is compatible or
falseif they are not.
Because not all export presets are compatible with all assets and file types, you can use this method to query the compatibility of specific combos before using them. To ensure that the export operation succeeds, you should not make any significant changes to the asset between the time of calling this method and performing the export operation.
This method performs its checks asynchronously on a secondary thread and returns immediately. The results are similarly reported to the specified block on a secondary thread.