Instance Property


A flag that instructs ARKit to estimate and set the scale of a detected or tracked image on your behalf.


var automaticImageScaleEstimationEnabled: Bool { get set }


If set to true, ARKit uses its knowledge of the world to set an image anchor's estimatedScaleFactor property, which corrects the image anchor's position in the physical environment.

Enable this property when you want to detect different sized versions of a reference image. ARKit must know the physical size of an image in the real world to accurately estimate its real-world position. You enable this property to tell ARKit to estimate a recognized image's physical size before it calculates the real-world position.

See Also

Enabling Image Detection or Tracking

var detectionImages: Set<ARReferenceImage>!

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

var maximumNumberOfTrackedImages: Int

The maximum number of detection images for which to simultaneously track movement.

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