Contents

removeConnection(_:)

Removes a capture connection from the session.

Declaration

func removeConnection(_ connection: AVCaptureConnection)

Parameters

  • connection:

    The capture connection to remove from the session.

Discussion

You can call this method while the session is running.

See Also

Connecting inputs and outputs