---
title: inputPorts
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avcaptureconnection/inputports
---

# inputPorts

An array of the connection’s input ports.

## Declaration

```swift
var inputPorts: [AVCaptureInput.Port] { get }
```

## Discussion

Discussion Input ports are instances of AVCaptureInput.Port.

## See Also

### Inspecting a connection

- [output](avfoundation/avcaptureconnection/output.md)
- [videoPreviewLayer](avfoundation/avcaptureconnection/videopreviewlayer.md)
- [audioChannels](avfoundation/avcaptureconnection/audiochannels.md)
