---
title: "tableView(_:dragSessionAllowsMoveOperation:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uitableviewdragdelegate/tableview(_:dragsessionallowsmoveoperation:)"
---

# tableView(_:dragSessionAllowsMoveOperation:)

Returns a Boolean value indicating whether your app supports a move operation for the dragged content.

## Declaration

```swift
optional func tableView(_ tableView: UITableView, dragSessionAllowsMoveOperation session: any UIDragSession) -> Bool
```

## Parameters

- `tableView`: The table view from which the drag operation originated.
- `session`: The drag session object containing information about the drag operation.

## Return Value

Return Value true if your app allows content to be moved instead of copied, or false if moves are not supported.

## Discussion

Discussion Implement this method if you want to prevent the dragged content from being moved. If your delegate returns false and the drop operation type is UIDropOperation.move, the system cancels the drop. If you don’t implement this method, the table view behaves as if the method returned true.

## See Also

### Tracking the drag session

- [tableView(_:dragSessionWillBegin:)](uikit/uitableviewdragdelegate/tableview(_:dragsessionwillbegin:).md)
- [tableView(_:dragSessionDidEnd:)](uikit/uitableviewdragdelegate/tableview(_:dragsessiondidend:).md)
- [tableView(_:dragSessionIsRestrictedToDraggingApplication:)](uikit/uitableviewdragdelegate/tableview(_:dragsessionisrestrictedtodraggingapplication:).md)
