---
title: stripTextColorFromPreviews
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uitextdragoptions/striptextcolorfrompreviews
---

# stripTextColorFromPreviews

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

## Declaration

```swift
static var stripTextColorFromPreviews: UITextDragOptions { get }
```

## Discussion

Discussion When the system creates a preview for a text drag operation, the preview keeps the foreground and background text colors. Using the stripTextColorFromPreviews option strips away those colors, leaving the preview with black text on a clear background. This option changes only the preview, not the view used to create the preview. Also, this option doesn’t affect any images included in the preview.
