Contents

stripTextColorFromPreviews

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

Declaration

static var stripTextColorFromPreviews: UITextDragOptions { get }

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.