Contents

indirectScribbleInteraction(_:frameForElement:)

Asks the delegate to provide the frame of an element.

Declaration

func indirectScribbleInteraction(_ interaction: any UIInteraction, frameForElement elementIdentifier: Self.ElementIdentifier) -> CGRect

Parameters

  • interaction:

    The interaction requesting to focus an element.

  • elementIdentifier:

    The identifier of the element that should receive focus.

Return Value

Returns the frame for the element, in the view coordinate system of the interaction.

See Also

Finding Elements and Frames