<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UICollectionViewDropDelegate/collectionView(_:dropPreviewParametersForItemAt:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UICollectionViewDropDelegate(im)collectionView:dropPreviewParametersForItemAtIndexPath:"
  },
  "title" : "collectionView(_:dropPreviewParametersForItemAt:)"
}
-->

# collectionView(_:dropPreviewParametersForItemAt:)

Returns custom information about how to display the item at the specified location during the drop.

```
optional func collectionView(_ collectionView: UICollectionView, dropPreviewParametersForItemAt indexPath: IndexPath) -> UIDragPreviewParameters?
```

## Parameters

`collectionView`

The collection view that’s the destination for the drop.

`indexPath`

The index path in the collection view to insert the item.

## Return Value

Drop parameters that indicate how to display the item during the drop.

## Discussion

Use this method to customize the appearance of the item during drops. If you don’t implement this method or if you implement it and return `nil`, the collection view uses the cell’s visible bounds to create the 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)