Contents

interaction(_:highlightSelectedItemsDidChange:)

Notifies your app when recognized items in the image appear highlighted as a result of a person tapping the Live Text button.

Declaration

@MainActor func interaction(_ interaction: ImageAnalysisInteraction, highlightSelectedItemsDidChange highlightSelectedItems: Bool)

Parameters

  • interaction:

    The interaction object for which the selected item highlights change.

  • highlightSelectedItems:

    A Boolean value that indicates whether highlights appear.

See Also

Tracking interface changes