<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIDragPreview",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIDragPreview"
  },
  "title" : "UIDragPreview"
}
-->

# UIDragPreview

A graphical preview for a single drag item, used by the system after a drag has started and when no related animation is running.

```
@MainActor class UIDragPreview
```

## Overview

A [`UIDragPreview`](/documentation/UIKit/UIDragPreview) object is a visual representation of the drag item. The preview is displayed while the user moves the item across the screen with their finger (after the lift animation completes). The preview disappears when the user lifts their finger, triggering the start of the drop or cancellation animation.

## Topics

### Initializing a drag item preview

[`init(view:)`](/documentation/UIKit/UIDragPreview/init(view:))

Initializes a new drag item preview with a view, using the default appearance parameters.

[`init(view:parameters:)`](/documentation/UIKit/UIDragPreview/init(view:parameters:))

Initializes a new drag item preview with a view and with a set of appearance parameters.

[`init(forURL:)`](/documentation/UIKit/UIDragPreview/init(forURL:))

Initializes a new drag item preview with a URL.

[`init(forURL:title:)`](/documentation/UIKit/UIDragPreview/init(forURL:title:))

Initializes a drag item preview with a URL and title.

### Getting the visual appearance parameters

[`parameters`](/documentation/UIKit/UIDragPreview/parameters)

The appearance parameters associated with the drag item preview.

### Accessing the view

[`view`](/documentation/UIKit/UIDragPreview/view)

The view associated with the drag item preview.



---

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)