overlayView(_:shouldBeginAt:forAnalysisType:)
Indicates whether interaction begins at the given point for the specified interaction type.
Declaration
@MainActor func overlayView(_ overlayView: ImageAnalysisOverlayView, shouldBeginAt point: CGPoint, forAnalysisType analysisType: ImageAnalysisOverlayView.InteractionTypes) -> BoolParameters
- overlayView:
The overlay view that implements the Live Text interface.
- point:
The point where the interface begins.
- analysisType:
The type of interaction that starts.
Mentioned in
Return Value
This default implementation returns true.
Discussion
The overlay view invokes this method once for each type of interaction. The default return value is true, which starts the interface immediately upon presentation.