Type Method


Creates and initializes an instance of an asset writer input group.


+ (instancetype)assetWriterInputGroupWithInputs:(NSArray<AVAssetWriterInput *> *)inputs defaultInput:(AVAssetWriterInput *)defaultInput;



An array of AVAssetWriterInput instances to be grouped together.


The instance of AVAssetWriterInput to designate as the default input for the group.

Return Value

An initialized instance of AVAssetWriterInputGroup.


When the input group is added to an AVAssetWriter instance using the addInputGroup: method, the AVAssetWriterInput property marksOutputTrackAsEnabled is automatically set to YES for defaultInput and NO for all of the other inputs in the group.

See Also

Creating an Asset Writer Input Group

- initWithInputs:defaultInput:

Creates an instance of an asset writer input group.

Beta Software

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