overlayView(_:highlightSelectedItemsDidChange:)
Notifies your app when recognized items in the image appear highlighted as a result of a person clicking or tapping the Live Text button.
Declaration
@MainActor func overlayView(_ overlayView: ImageAnalysisOverlayView, highlightSelectedItemsDidChange highlightSelectedItems: Bool)Parameters
- overlayView:
The overlay view for which the selected item highlights change.
- highlightSelectedItems:
A Boolean value that indicates whether highlights appear.