<!--
{
  "availability" : [
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/CameraRegionProvider/addAnchor(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "s:5ARKit20CameraRegionProviderC9addAnchoryyAA0bcF0VYaKF"
  },
  "title" : "addAnchor(_:)"
}
-->

# addAnchor(_:)

Add a camera region anchor.

```
final func addAnchor(_ anchor: CameraRegionAnchor) async throws
```

## Parameters

`anchor`

The anchor to add.

## Discussion> Throws: `CameraRegionProvider.Error`

> Note: This could fail if the maximum anchors for the given camera enhancement has been reached.

---

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)