drop(_:toRowAt:)
Animates the item to the specified index path in the table view.
Declaration
func drop(_ dragItem: UIDragItem, toRowAt indexPath: IndexPath) -> any UIDragAnimatingParameters
- dragItem:
The dragged item that you want to animate into position.
- indexPath:
The index path to use as the destination for the animation.
Mentioned in
Discussion
Use this method to animate the dragged item to the specific location in the table view. Typically, you use this method for content that originated in the collection view and is moving to a new location.