Contents

preferredInteractionTypes

The types of interactions that people can perform with the image in this overlay view.

Declaration

@MainActor final var preferredInteractionTypes: ImageAnalysisOverlayView.InteractionTypes { get set }

Mentioned in

Discussion

You need to set this property to enable the Live Text interface with the image. If this property contains automatic, the overlay view ignores the other interaction types in the set. The default value for this property is an empty array that disables any interactions.

See Also

Configuring overlay views