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.

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