Instance Property


The list of anchors representing positions tracked or objects detected in the scene.


@property(nonatomic, copy, readonly) NSArray<__kindof ARAnchor *> *anchors;


You can manually add or remove anchors to track locations in the scene using the ARSession class. Depending on session configuration, ARKit may also add anchors, such as the origin of the world coordinate system or automatically detected planes.

See Also

Tracking and Finding Objects

- hitTest:types:

Searches for real-world objects or AR anchors in the captured camera image.