Contents

dragInteraction(_:session:willAdd:for:)

Tells the delegate an interaction is about to add items to a drag session.

Declaration

optional func dragInteraction(_ interaction: UIDragInteraction, session: any UIDragSession, willAdd items: [UIDragItem], for addingInteraction: UIDragInteraction)

Parameters

  • interaction:

    The interaction that called this method.

  • session:

    The current drag session.

  • items:

    The drag items the interaction will add to the session.

  • addingInteraction:

    The interaction adding the drag items.

See Also

Monitoring drag progress