---
title: dragInteractionEnabled
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uicollectionview/draginteractionenabled
---

# dragInteractionEnabled

A Boolean value that indicates whether the collection view supports dragging content.

## Declaration

```swift
var dragInteractionEnabled: Bool { get set }
```

## Discussion

Discussion To support dragging content from the collection view to a view in your app or another app, set this property value to true. To disable this behavior, set the value to false. The default value is true. In iOS 14 and earlier, the default value is true for iPad and false for iPhone. Setting the value to true on iPhone enables dragging within your app only. Dragging content to other apps isn’t possible on iPhone prior to iOS 15.

## See Also

### Managing drag interactions

- [dragDelegate](uikit/uicollectionview/dragdelegate.md)
- [UICollectionViewDragDelegate](uikit/uicollectionviewdragdelegate.md)
- [hasActiveDrag](uikit/uicollectionview/hasactivedrag.md)
