Instance Method

textDroppableView(_:dropSessionDidUpdate:)

Tells the delegate that the drop session has been updated.

Declaration

optional func textDroppableView(_ textDroppableView: UIView & UITextDroppable, dropSessionDidUpdate session: 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

func textDroppableView(UIView & UITextDroppable, dropSessionDidEnter: UIDropSession)

Tells the delegate that the user has moved the drag items into the coordinate system of the text view.

func textDroppableView(UIView & UITextDroppable, dropSessionDidExit: UIDropSession)

Tells the delegate that the user has moved the drag items out of the text view's coordinate system.