---
title: setNeedsDropPreviewUpdate()
framework: uikit
role: symbol
role_heading: Instance Method
path: uikit/uidragitem/setneedsdroppreviewupdate()
---

# setNeedsDropPreviewUpdate()

Notifies the operating system that an updated drop preview is available for the item.

## Declaration

```swift
func setNeedsDropPreviewUpdate()
```

## Discussion

Discussion Call this method to provide an updated drop preview after UIKit has started the drop animation. If the drop animation is still ongoing, UIKit calls the drop interaction delegate’s dropInteraction(_:previewForDropping:withDefault:) method, passing the previous drop preview as the defaultPreview.

## See Also

### Changing the drag item preview

- [previewProvider](uikit/uidragitem/previewprovider.md)
