---
title: "retargetedPreview(with:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uitargeteddragpreview/retargetedpreview(with:)"
---

# retargetedPreview(with:)

Returns a new targeted drag item preview based on an existing one, but with a new geometric target.

## Declaration

```swift
func retargetedPreview(with newTarget: UIDragPreviewTarget) -> UITargetedDragPreview
```

## Parameters

- `newTarget`: A new drag item preview target.

## Return Value

Return Value A new targeted drag preview.

## Discussion

Discussion You can use this method in the drop interaction delegate’s implementation of the dropInteraction(_:previewForDropping:withDefault:) method to replace the current targeted drag item preview with a different one.
