The maximum number of detection images for which to simultaneously track movement.
- iOS 12.0+
Adding images to the
detection set enables image detection, which reports the position and orientation of an image when ARKit first finds it in the camera view, and only provides infrequent updates thereafter.
Setting this property to a value greater than zero (the default) enables image tracking, which continuously follows detected images, even when the real objects they're attached to move within the world. If more than the maximum is visible, only the images already being tracked will continue to track, until tracking is lost or another image is removed.
A world-tracking session with image tracking enabled can simultaneously track only a small number of images. You can track more images with