<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "RealityKit",
  "identifier" : "/documentation/RealityKit/ARView/automaticallyConfigureSession",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "RealityKit"
    ],
    "preciseIdentifier" : "s:10RealityKit6ARViewC29automaticallyConfigureSessionSbvp"
  },
  "title" : "automaticallyConfigureSession"
}
-->

# automaticallyConfigureSession

An indication of whether to use an automatically configured AR session.

```
@MainActor @preconcurrency var automaticallyConfigureSession: Bool { get set }
```

## Discussion

When enabled, the [`ARView`](/documentation/RealityKit/ARView) automatically runs an `RealityKit/ARSession`
with a default configuration. RealityKit updates that configuration based  on t camera mode and
scene anchors. When disabled, you need to provide a configuration object and run the session manually.

The default value is
<doc://com.apple.documentation/documentation/Swift/true>.

---

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)