textView(_:willDismissEditMenuWith:)
Declaration
optional func textView(_ textView: UITextView, willDismissEditMenuWith animator: any UIEditMenuInteractionAnimating)Parameters
- textView:
The text view displaying the menu.
- animator:
Dismissal animator. Add animations to this object to run them alongside the dismissal transition.
Discussion
Called when the text view is about to dismiss the edit menu.