Contents

canAdd(_:)

Determines whether the asset writer supports adding the input.

Declaration

func canAdd(_ input: AVAssetWriterInput) -> Bool

Parameters

  • input:

    The asset writer input to add.

Return Value

true if you can add the input to the asset writer; otherwise false.

See Also

Configuring inputs