Instance Property

dragInteractionEnabled

A Boolean value indicating whether the table view supports drags and drops between apps.

Declaration

var dragInteractionEnabled: Bool { get set }

Discussion

The default value of this property is true on iPad and false on iPhone. Changing the value to true on iPhone makes it possible to drag content from the table view to another app on iPhone and to receive content from other apps.

See Also

Managing Drag Interactions

var dragDelegate: UITableViewDragDelegate?

The delegate object that manages the dragging of items from the table view.

protocol UITableViewDragDelegate

The interface for initiating drags from a table view.

var hasActiveDrag: Bool

A Boolean value indicating whether rows were lifted from the table view and have not yet been dropped.