Indicates whether the time ranges of the composition’s instructions conform to validation requirements.
- iOS 5.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- tvOS 9.0+
AVAssetobject, if you wish to validate the time ranges of the instructions against the duration of the asset and the track IDs of the layer instructions against the asset’s tracks.
nilto skip that validation.
A time range.
Only those instructions with time ranges that overlap with this time range will be validated. To validate all instructions that may be used for playback or other processing, regardless of time range, pass
Range Make(k CMTime Zero, k CMTime Positive Infinity)
Indicates an object implementing the
AVVideoprotocol to receive detailed information about problematic portions of a video composition during processing.
Composition Validation Handling
nilif you don’t want to be informed about details.
YES if the time ranges of the composition’s instructions conform to validation requirements, otherwise
In the course of validation, the receiver will invoke its delegate (if there is one) with reference to any trouble spots in the video composition.
This method raises an exception if the delegate modifies the receiver’s array of instructions or the array of layer instructions of any
AVVideo object contained therein during validation.