<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "visionOS: 1.0.0 - 1.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/ARSKView",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "c:objc(cs)ARSKView"
  },
  "title" : "ARSKView"
}
-->

# ARSKView

A view that blends virtual 2D content from SpriteKit into the 3D space of an augmented reality experience.

```
class ARSKView
```

## Overview

Use the [`ARSKView`](/documentation/ARKit/ARSKView) class to create augmented reality experiences that position 2D elements in 3D space within a device camera view of the real world. When you run the view’s provided [`ARSession`](/documentation/ARKit/ARSession) object:

- The view automatically renders the live video feed from the device camera as the scene background.
- When you implement [`ARSKViewDelegate`](/documentation/ARKit/ARSKViewDelegate) methods to associate SpriteKit content with real-world positions, the view automatically scales and rotates those SpriteKit nodes so that they appear to track the real world seen by the camera.

## Topics

### First Steps

[Providing 2D Virtual Content with SpriteKit](/documentation/ARKit/providing-2d-virtual-content-with-spritekit)

Use SpriteKit to place two-dimensional images in 3D space in your AR experience.

[`session`](/documentation/ARKit/ARSKView/session)

The AR session that manages motion tracking and camera image processing for the view’s contents.

### Responding to AR Updates

[`delegate`](/documentation/ARKit/ARSKView/delegate)

An object you provide to mediate synchronization of the view’s AR scene information with SpriteKit content.

[`ARSKViewDelegate`](/documentation/ARKit/ARSKViewDelegate)

Methods you can implement to mediate the automatic synchronization of SpriteKit content with an AR session.

### Finding Real-World Surfaces

[`-  hitTest:types:`](/documentation/ARKit/ARSKView/hitTest(_:types:))

Searches for real-world objects or AR anchors in the captured camera image corresponding to a point in the SpriteKit view.

### Mapping Content to Real-World Positions

[`-  anchorForNode:`](/documentation/ARKit/ARSKView/anchor(for:))

Returns the AR anchor associated with the specified SpriteKit node, if any.

[`-  nodeForAnchor:`](/documentation/ARKit/ARSKView/node(for:))

Returns the SpriteKit node associated with the specified AR anchor, if any.

## Relationships

### Conforms To

[`UILargeContentViewerItem`](/documentation/UIKit/UILargeContentViewerItem)

[`UIAccessibilityIdentification`](/documentation/UIKit/UIAccessibilityIdentification)

[`UIFocusEnvironment`](/documentation/UIKit/UIFocusEnvironment)

[`UIActivityItemsConfigurationProviding`](/documentation/UIKit/UIActivityItemsConfigurationProviding)

[`UIPopoverPresentationControllerSourceItem`](/documentation/UIKit/UIPopoverPresentationControllerSourceItem)

[`UIUserActivityRestoring`](/documentation/UIKit/UIUserActivityRestoring)

[`UIFocusItem`](/documentation/UIKit/UIFocusItem)

[`CMBodyIdentifiable`](/documentation/CoreMotion/CMBodyIdentifiable)

[`UIResponderStandardEditActions`](/documentation/UIKit/UIResponderStandardEditActions)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`CVarArg`](/documentation/Swift/CVarArg)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`UIDynamicItem`](/documentation/UIKit/UIDynamicItem)

[`Equatable`](/documentation/Swift/Equatable)

[`UIPasteConfigurationSupporting`](/documentation/UIKit/UIPasteConfigurationSupporting)

[`UITraitEnvironment`](/documentation/UIKit/UITraitEnvironment)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`ARSessionProviding`](/documentation/ARKit/ARSessionProviding)

[`CALayerDelegate`](/documentation/QuartzCore/CALayerDelegate)

[`CLBodyIdentifiable`](/documentation/CoreLocation/CLBodyIdentifiable)

[`Sendable`](/documentation/Swift/Sendable)

[`UITraitChangeObservable-67e94`](/documentation/UIKit/UITraitChangeObservable-67e94)

[`Hashable`](/documentation/Swift/Hashable)

[`UIAppearance`](/documentation/UIKit/UIAppearance)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`UIAppearanceContainer`](/documentation/UIKit/UIAppearanceContainer)

[`UICoordinateSpace`](/documentation/UIKit/UICoordinateSpace)

[`UIFocusItemContainer`](/documentation/UIKit/UIFocusItemContainer)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

### Inherits From

[`SKView`](/documentation/SpriteKit/SKView)

---

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)