<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITableViewDragDelegate/tableView(_:dragSessionAllowsMoveOperation:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UITableViewDragDelegate(im)tableView:dragSessionAllowsMoveOperation:"
  },
  "title" : "tableView(_:dragSessionAllowsMoveOperation:)"
}
-->

# tableView(_:dragSessionAllowsMoveOperation:)

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

```
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

<doc://com.apple.documentation/documentation/Swift/true> if your app allows content to be moved instead of copied, or <doc://com.apple.documentation/documentation/Swift/false> if moves are not supported.

## Discussion

Implement this method if you want to prevent the dragged content from being moved. If your delegate returns <doc://com.apple.documentation/documentation/Swift/false> and the drop operation type is [`UIDropOperation.move`](/documentation/UIKit/UIDropOperation/move), the system cancels the drop.

If you don’t implement this method, the table view behaves as if the method returned <doc://com.apple.documentation/documentation/Swift/true>.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)