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

# UITextDraggable

The interface that determines if a text view is a drag source.

```
@MainActor protocol UITextDraggable : UITextInput
```

## Topics

### Checking the text drag activity status

[`var isTextDragActive: Bool`](/documentation/UIKit/UITextDraggable/isTextDragActive)

A Boolean value indicating whether at least one drag session for the text view is active.

### Managing the text drag interaction

[`var textDragInteraction: UIDragInteraction?`](/documentation/UIKit/UITextDraggable/textDragInteraction)

The drag interaction object added by UIKit to the text view.

### Setting the text drag delegate

[`var textDragDelegate: (any UITextDragDelegate)?`](/documentation/UIKit/UITextDraggable/textDragDelegate)

A text drag delegate object for customizing the drag source behavior of a text view.

### Setting the text drag options

[`var textDragOptions: UITextDragOptions`](/documentation/UIKit/UITextDraggable/textDragOptions)

The options for the text drag operation.

## Relationships

### Inherits From

[`UITextInputTraits`](/documentation/UIKit/UITextInputTraits)

[`UIKeyInput`](/documentation/UIKit/UIKeyInput)

[`UITextInput`](/documentation/UIKit/UITextInput)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

### Conforming Types

[`UITextField`](/documentation/UIKit/UITextField)

[`UISearchTextField`](/documentation/UIKit/UISearchTextField)

[`UITextView`](/documentation/UIKit/UITextView)

---

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)