Contents

textDroppableView(_:dropSessionDidUpdate:)

Tells the delegate that the drop session has been updated.

Declaration

optional func textDroppableView(_ textDroppableView: any UIView & UITextDroppable, dropSessionDidUpdate session: any UIDropSession)

Parameters

  • textDroppableView:

    The text view that received the drop activity.

  • session:

    The current drop session.

Discussion

The system usually—but not always—calls this method before calling the textDroppableView(_:proposalForDrop:) method. However, it’s called frequently, so do only what is necessary in your implementation.

See Also

Handling drop session notifications