Instance Method

dropInteraction(_:concludeDrop:)

Tells the delegate the drop activity and its related animations have finished.

Declaration

optional func dropInteraction(_ interaction: UIDropInteraction, concludeDrop session: UIDropSession)

Parameters

interaction

The interaction that called this method.

session

The drop session that has finished.

Discussion

When the interaction calls this method, update the interaction’s view with its post-drop appearance.

See Also

Animating the Drop

func dropInteraction(UIDropInteraction, item: UIDragItem, willAnimateDropWith: UIDragAnimating)

Tells the delegate the system's drop animation is about to start.