Instance Method

session:didUpdateAnchors:

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

Declaration

- (void)session:(ARSession *)session didUpdateAnchors:(NSArray<__kindof ARAnchor *> *)anchors;

Parameters

session

The session providing information.

anchors

The anchors whose properties have changed.

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:

See Also

Handling Content Updates

- session:didAddAnchors:

Tells the delegate that one or more anchors have been added to the session.

- session:didRemoveAnchors:

Tells the delegate that one or more anchors have been removed from the session.