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

# allowsMultipleSelection

A Boolean value that determines whether users can select more than one row outside of editing mode.

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

## Discussion

This property controls whether a user can select multiple rows simultaneously outside of editing mode. Selected rows acquire a selected appearance.

In iOS, when the value of this property is <doc://com.apple.documentation/documentation/Swift/true>, the user can select additional rows by tapping on them. The user must tap a currently selected row to deselect it.

In macOS, when the value of this property is <doc://com.apple.documentation/documentation/Swift/true>, the user can select additional rows by holding the Command or Shift key while clicking on the additional rows they want to select. If the user isn’t holding a modifier key, clicking on another row clears the current selection and selects only the clicked row. This behavior resembles the selection behavior of <doc://com.apple.documentation/documentation/AppKit/NSTableView>.

If you access [`indexPathsForSelectedRows`](/documentation/UIKit/UITableView/indexPathsForSelectedRows), you can get the index paths that identify the selected rows.

The default value of this property is <doc://com.apple.documentation/documentation/Swift/false>.

---

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)