Contents

dragInteraction(_:sessionWillBegin:)

Tells the delegate the lift animation has finished and the user is starting to move the items across the screen.

Declaration

optional func dragInteraction(_ interaction: UIDragInteraction, sessionWillBegin session: any UIDragSession)

Parameters

  • interaction:

    The interaction that called this method.

  • session:

    The current drag session.

Discussion

Implement this method when you need to perform some action after the user starts dragging the items; for instance, dimming the view to show that its contents are being dragged.

See Also

Monitoring drag progress