<!--
{
  "availability" : [
    "iOS: 2.0.0 -",
    "iPadOS: 2.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITableView/allowsSelectionDuringEditing",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UITableView(py)allowsSelectionDuringEditing"
  },
  "title" : "allowsSelectionDuringEditing"
}
-->

# allowsSelectionDuringEditing

A Boolean value that determines whether users can select cells while the table view is in editing mode.

```
var allowsSelectionDuringEditing: Bool { get set }
```

## Discussion

If the value of this property is <doc://com.apple.documentation/documentation/Swift/true>, users can select rows during editing. The default value is <doc://com.apple.documentation/documentation/Swift/false>. If you want to restrict selection of cells regardless of mode, use [`allowsSelection`](/documentation/UIKit/UITableView/allowsSelection).

---

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)