Contents

contentsRect(for:)

A default implementation that returns a rectangle that specifies the full width and height of the view.

Declaration

@MainActor func contentsRect(for overlayView: ImageAnalysisOverlayView) -> CGRect

Parameters

  • overlayView:

    The overlay view that implements the Live Text interface.

Mentioned in

Return Value

The unit rectangle [0.0, 0.0, 1.0, 1.0].