Contents

indirectScribbleInteraction(_:willBeginWritingInElement:)

Informs the delegate when the user begins writing.

Declaration

func indirectScribbleInteraction(_ interaction: any UIInteraction, willBeginWritingInElement elementIdentifier: Self.ElementIdentifier)

Parameters

  • interaction:

    The interaction where the user started writing.

  • elementIdentifier:

    The identifier of the element that should receive focus.

Discussion

Use this to hide custom placeholders or other UI elements that can interfere with writing.

See Also

Tracking Scribble Input