Contents

addInputWithNoConnections(_:)

Adds a capture input to a session without forming any connections.

Declaration

func addInputWithNoConnections(_ input: AVCaptureInput)

Parameters

  • input:

    The capture input to add to the session.

Discussion

You can call this method while the session is running.

In most cases, use the addInput(_:) method to add new inputs to a session. Call this method if you require fine-grained control over which inputs connect to which outputs.

See Also

Connecting inputs and outputs