Contents

dragInteraction(_:sessionDidMove:)

Tells the delegate the user moved the drag items to a new location on the screen.

Declaration

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

Parameters

  • interaction:

    The interaction that called this method.

  • session:

    The current drag session.

Discussion

To get the new location, call the drag session’s location(in:) method.

See Also

Monitoring drag progress