---
title: "session(_:didUpdate:)"
framework: arkit
role: symbol
role_heading: Instance Method
path: "arkit/arsessiondelegate/session(_:didupdate:)-3qtt8"
---

# session(_:didUpdate:)

Tells the delegate that the session has adjusted the properties of one or more anchors.

## Declaration

```swift
optional func session(_ session: ARSession, didUpdate anchors: [ARAnchor])
```

## Parameters

- `session`: The session providing information.
- `anchors`: The anchors whose properties have changed.

## Discussion

Discussion Depending on the session configuration, ARKit may automatically update the properties of anchors in a session. If you display an AR experience using SceneKit or SpriteKit, you can implement one of the following methods instead to track not only the anchors in the session but also any corresponding SceneKit or SpriteKit content: ARSCNView: renderer(_:willUpdate:for:) or renderer(_:didUpdate:for:) ARSKView: view(_:willUpdate:for:) or view(_:didUpdate:for:)

## See Also

### Handling Content Updates

- [session(_:didAdd:)](arkit/arsessiondelegate/session(_:didadd:).md)
- [session(_:didRemove:)](arkit/arsessiondelegate/session(_:didremove:).md)
