---
title: "view(_:didRemove:for:)"
framework: arkit
role: symbol
role_heading: Instance Method
path: "arkit/arskviewdelegate/view(_:didremove:for:)"
---

# view(_:didRemove:for:)

Tells the delegate that the SpriteKit node corresponding to an AR anchor has been removed from the scene.

## Declaration

```swift
optional func view(_ view: ARSKView, didRemove node: SKNode, for anchor: ARAnchor)
```

## Parameters

- `view`: The doc://com.apple.arkit/documentation/ARKit/ARSKView object rendering the scene.
- `node`: The removed SpriteKit node.
- `anchor`: The AR anchor corresponding to the node.

## Discussion

Discussion Depending on the session configuration, ARKit may automatically remove anchors from a session. The view calls this method once for each removed anchor.

## See Also

### Handling Content Updates

- [view(_:nodeFor:)](arkit/arskviewdelegate/view(_:nodefor:).md)
- [view(_:didAdd:for:)](arkit/arskviewdelegate/view(_:didadd:for:).md)
- [view(_:willUpdate:for:)](arkit/arskviewdelegate/view(_:willupdate:for:).md)
- [view(_:didUpdate:for:)](arkit/arskviewdelegate/view(_:didupdate:for:).md)
