Instance Property


A set of images that ARKit attempts to detect and track in the user's environment.


var trackingImages: Set<ARReferenceImage> { get set }


Use this property to choose known 2D images for ARKit to find in the user's environment and present as ARImageAnchor for use in your AR experience. Use an Xcode asset catalog to provide reference images for ARKit to detect, or define them programmatically with the ARReferenceImage class.

Set the maximumNumberOfTrackedImages property to determine how many images from this set ARKit attempts to track simultaneously.

See Also

Choosing Images to Track

var maximumNumberOfTrackedImages: Int

The maximum number of images to simultaneously track movement for.