---
title: "addInputWithNoConnections(_:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avcapturesession/addinputwithnoconnections(_:)"
---

# addInputWithNoConnections(_:)

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

## Declaration

```swift
func addInputWithNoConnections(_ input: AVCaptureInput)
```

## Parameters

- `input`: The capture input to add to the session.

## Discussion

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

- [connections](avfoundation/avcapturesession/connections.md)
- [addConnection(_:)](avfoundation/avcapturesession/addconnection(_:).md)
- [canAddConnection(_:)](avfoundation/avcapturesession/canaddconnection(_:).md)
- [addOutputWithNoConnections(_:)](avfoundation/avcapturesession/addoutputwithnoconnections(_:).md)
- [removeConnection(_:)](avfoundation/avcapturesession/removeconnection(_:).md)
- [AVCaptureAudioChannel](avfoundation/avcaptureaudiochannel.md)
