<!--
{
  "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/canAddControl(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptureSession(im)canAddControl:"
  },
  "title" : "canAddControl(_:)"
}
-->

# canAddControl(_:)

Returns a Boolean value that indicates whether a capture session add the specified control.

```
func canAddControl(_ control: AVCaptureControl) -> Bool
```

## Parameters

`control`

The capture control to add.

## Return Value

<doc://com.apple.documentation/documentation/Swift/true> if the capture session can add the control; otherwise, <doc://com.apple.documentation/documentation/Swift/false>.

## Discussion

Call this method to determine whether you can successfully add a control to a capture session using the [`addControl(_:)`](/documentation/AVFoundation/AVCaptureSession/addControl(_:)) method. A capture session may not be able to add a control due to its current session configuration or if unsupported by the host platform.

---

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)