---
title: "drop(_:to:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uitableviewdropcoordinator/drop(_:to:)-57wx"
---

# drop(_:to:)

Animates the item to an arbitrary location in your view hierarchy.

## Declaration

```swift
func drop(_ dragItem: UIDragItem, to target: UIDragPreviewTarget) -> any UIDragAnimating
```

## Parameters

- `dragItem`: The item that you want to drop.
- `target`: The location at which to drop the item, specified as a point in a view. You can also use the doc://com.apple.uikit/documentation/UIKit/UIDragPreviewTarget object to specify a final transform to apply to the content.

## Discussion

Discussion Use this method to animate drops to any view in your app. For example, you might use this method to drop items onto a tab bar or toolbar that is part of your interface.

## See Also

### Animating rows to their destination

- [drop(_:toRowAt:)](uikit/uitableviewdropcoordinator/drop(_:torowat:).md)
- [drop(_:intoRowAt:rect:)](uikit/uitableviewdropcoordinator/drop(_:intorowat:rect:).md)
- [drop(_:to:)](uikit/uitableviewdropcoordinator/drop(_:to:)-3znax.md)
