Contents

contentView(for:)

Provides the view that contains the image.

Declaration

@MainActor func contentView(for interaction: ImageAnalysisInteraction) -> UIView?

Parameters

  • interaction:

    The associated interaction object for the content view.

Return Value

The view that contains the image for this interaction.

Discussion

Implement this delegate method only when the view that contains the image isn’t the same as the interaction’s view.

See Also

Providing interface details