BETextInteraction
An interaction you add to a text view to support extended text gestures.
Declaration
@MainActor class BETextInteractionMentioned in
Overview
Add a BETextInteraction object to your browser text view’s textInputView. When your browser text view receives text-interaction actions, call the methods on this object to invoke the standard system behavior.
Topics
Text selection
delegateBETextInteractionDelegatetextSelectionDisplayInteractionselectionBoundaryAdjusted(to:touchPhase:flags:)selectionChangedWithGesture(at:gesture:state:flags:)
Menus
presentEditMenuForSelection()dismissEditMenuForSelection()contextMenuInteractioncontextMenuInteractionDelegate