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