Contents

dragInteraction(_:session:didEndWith:)

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

Declaration

optional func dragInteraction(_ interaction: UIDragInteraction, session: any UIDragSession, didEndWith operation: UIDropOperation)

Parameters

  • interaction:

    The interaction that called this method.

  • session:

    The current drag session.

  • operation:

    A type that describes the drop operation. If the operation is Copy or Move, the data transfer begins.

Discussion

Since the session has ended, your app should return to its normal appearance.

See Also

Monitoring drag progress