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

# dragInteraction(_:previewForLifting:session:)

Asks the delegate for the targeted drag item preview that will appear during the lift animation.

```
optional func dragInteraction(_ interaction: UIDragInteraction, previewForLifting item: UIDragItem, session: any UIDragSession) -> UITargetedDragPreview?
```

## Parameters

`interaction`

The interaction that called this method.

`item`

The drag item represented by the preview.

`session`

The current drag session.

## Return Value

A targeted drag item preview you create, or `nil` to tell the system not to display the lift animation.

## Discussion

If you don’t provide this method, the system creates a preview based on the view owned by the drag interaction.

---

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)