Contents

dragInteraction(_:session:willEndWith:)

Tells the delegate the drag activity will end with the specified operation.

Declaration

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

Parameters

  • interaction:

    The interaction that called this method.

  • session:

    The drag session that will end.

  • operation:

    A type that describes the drop operation. If the operation is Cancel or Forbidden, update your view so it has the corresponding appearance before the cancellation animation begins.

See Also

Monitoring drag progress