<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIDropInteractionDelegate/dropInteraction(_:previewForDropping:withDefault:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UIDropInteractionDelegate(im)dropInteraction:previewForDroppingItem:withDefault:"
  },
  "title" : "dropInteraction(_:previewForDropping:withDefault:)"
}
-->

# dropInteraction(_:previewForDropping:withDefault:)

Asks the delegate for the targeted drag item preview to show during the drop animation.

```
optional func dropInteraction(_ interaction: UIDropInteraction, previewForDropping item: UIDragItem, withDefault defaultPreview: UITargetedDragPreview) -> UITargetedDragPreview?
```

## Parameters

`interaction`

The interaction that called this method.

`item`

The drag item represented by the preview.

`defaultPreview`

A targeted drag preview provided by the system, if this is the first call for this item; otherwise, it’s the previous value for the drag preview.

## Return Value

- The default preview, which is the same behavior as not implementing this method.
- A targeted drag item preview that you create.
- The preview returned after moving to a new preview target by using the `defaultPreview`’s [`retargetedPreview(with:)`](/documentation/UIKit/UITargetedDragPreview/retargetedPreview(with:)) method.
- `nil` to fade the preview that is currently displayed to the user.

## Discussion

The system calls this method multiple times, once for each visible drag item. It shows the preview during the drop animation in order to visually *drop* the drag item into place.

If you call [`setNeedsDropPreviewUpdate()`](/documentation/UIKit/UIDragItem/setNeedsDropPreviewUpdate()) to tell the system to request a new drop preview, the system provides the previous value in the `defaultPreview` parameter.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)