Contents

textView(_:willPresentEditMenuWith:)

Declaration

optional func textView(_ textView: UITextView, willPresentEditMenuWith animator: any UIEditMenuInteractionAnimating)

Parameters

  • textView:

    The text view displaying the menu.

  • animator:

    Appearance animator. Add animations to this object to run them alongside the appearance transition.

Discussion

Called when the text view is about to present the edit menu.

See Also

Customizing an edit menu