Instance Method


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


optional func dropInteraction(_ interaction: UIDropInteraction, item: UIDragItem, willAnimateDropWith animator: UIDragAnimating)



The interaction that called this method.


The current drag item.


The animator that provides custom animations to run alongside the system's drop animation. You can also use it to add a completion block that runs after the animations have finished.


This method is called for each drag item in the session, whether the item's visible or not.

See Also

Animating the Drop

func dropInteraction(UIDropInteraction, concludeDrop: UIDropSession)

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software