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

# textDroppableView(_:willPerformDrop:)

Tells the delegate that the drop operation is about to happen.

```
optional func textDroppableView(_ textDroppableView: any UIView & UITextDroppable, willPerformDrop drop: any UITextDropRequest)
```

## Parameters

`textDroppableView`

The text view that received the drop activity.

`drop`

The drop request.

## Discussion

If you need to modify the drag items before the drop operation happens, provide the text view a [`pasteDelegate`](/documentation/UIKit/UITextPasteConfigurationSupporting/pasteDelegate) object that implements the [`paste(itemProviders:)`](/documentation/UIKit/UIPasteConfigurationSupporting/paste(itemProviders:)) method. In the implementation, do the item conversion and paste the text.

---

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)