<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITextDragOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UITextDragOptions"
  },
  "title" : "UITextDragOptions"
}
-->

# UITextDragOptions

A set of options that determine the behavior of a draggable text view.

```
struct UITextDragOptions
```

## Topics

### Text drag options

[`UITextDragOptionsNone`](/documentation/UIKit/UITextDragOptions/UITextDragOptionsNone)

Indicates no text drag options.

[`static var stripTextColorFromPreviews: UITextDragOptions`](/documentation/UIKit/UITextDragOptions/stripTextColorFromPreviews)

Strips the foreground and background colors for a system-provided text drag preview.

### Initializers

[`init(rawValue: Int)`](/documentation/UIKit/UITextDragOptions/init(rawValue:))

Creates a text-drag options structure with the specified raw value.

## Relationships

### Conforms To

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`SetAlgebra`](/documentation/Swift/SetAlgebra)

[`Sendable`](/documentation/Swift/Sendable)

[`OptionSet`](/documentation/Swift/OptionSet)

[`ExpressibleByArrayLiteral`](/documentation/Swift/ExpressibleByArrayLiteral)

[`Equatable`](/documentation/Swift/Equatable)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

---

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)