textView(_:textItemMenuWillDisplayFor:animator:)
Informs the delegate that a text item menu is about to be presented with the specified animator.
Declaration
optional func textView(_ textView: UITextView, textItemMenuWillDisplayFor textItem: UITextItem, animator: any UIContextMenuInteractionAnimating)Parameters
- textView:
The text view showing the menu.
- textItem:
The text item for performing said action.
- animator:
Appearance animator. Add animations to this object to run them alongside the appearance transition.