Instance Method


Stops repeating the ray-cast query.


- (void)stopTracking;


A tracked ray-cast is continuously updated until you stop it explicitly by calling stopTracking. A ray-cast will automatically stop when:

  • ARKit calls sessionWasInterrupted:.

  • You change the session's configuration.

  • You deallocate the ARTrackedRaycast.

  • A query you supply using updateQuery: fails.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software