<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 18.0.0 -",
    "macOS: 15.0.0 -",
    "tvOS: 18.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptureSession/addControl(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureSession(im)addControl:"
  },
  "title" : "addControl(_:)"
}
-->

# addControl(_:)

Adds a control to a capture session.

```
func addControl(_ control: AVCaptureControl)
```

## Parameters

`control`

The capture control to add.

## Discussion

A capture session may not be able to add a control due to configuration reasons or limits of the host platform. Before calling this method, determine whether you can successfully add a control by calling the capture session’s [`canAddControl(_:)`](/documentation/AVFoundation/AVCaptureSession/canAddControl(_:)) method.

You may call this method while the session is running.

> Important:
> For a control to become active, you must set a ``doc://com.apple.avfoundation/documentation/AVFoundation/AVCaptureSessionControlsDelegate`` on the session.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)