Instance Method

dropInteraction(_:sessionDidEnd:)

Tells the delegate the drop session has ended.

Declaration

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

Parameters

interaction

The interaction that called this method.

session

The drop session that ended.

Discussion

Implement this method if you need to clean up resources you created during the session.

See Also

Tracking the Drop Movements

func dropInteraction(UIDropInteraction, sessionDidEnter: UIDropSession)

Tells the delegate the drop session has moved into the drop interaction’s view.

func dropInteraction(UIDropInteraction, sessionDidExit: UIDropSession)

Tells the delegate the drop session has moved out of the drop interaction’s view.