<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/ARSKViewDelegate/view(_:didAdd:for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "c:objc(pl)ARSKViewDelegate(im)view:didAddNode:forAnchor:"
  },
  "title" : "view(_:didAdd:for:)"
}
-->

# view(_:didAdd:for:)

Tells the delegate that a SpriteKit node corresponding to a new AR anchor has been added to the scene.

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

## Parameters

`view`

The [`ARSKView`](/documentation/ARKit/ARSKView) object rendering the scene.

`node`

The newly added SpriteKit node.

`anchor`

The AR anchor corresponding to the node.

## Discussion

Depending on the session configuration, ARKit may automatically add anchors to a session. The view calls this method once for each new anchor. ARKit also calls this method to provide visual content for any [`ARAnchor`](/documentation/ARKit/ARAnchor) objects you manually add using the session’s [`add(anchor:)`](/documentation/ARKit/ARSession/add(anchor:)) method.

You can provide visual content for the anchor by adding child nodes.

Alternatively, you can implement the [`view(_:nodeFor:)`](/documentation/ARKit/ARSKViewDelegate/view(_:nodeFor:)) method to create your own node (or instance of an <doc://com.apple.documentation/documentation/SpriteKit/SKNode> subclass) for an anchor.

---

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)