Instance Property

textDragInteraction

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

Required.

Declaration

var textDragInteraction: UIDragInteraction? { get }

Discussion

You can set the text drag interaction's isEnabled property to false if you need to explicitly turn off drag interactions for a UIKit-provided text view.