<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "tvOS: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITableViewCell/SelectionStyle-swift.enum",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@E@UITableViewCellSelectionStyle"
  },
  "title" : "UITableViewCell.SelectionStyle"
}
-->

# UITableViewCell.SelectionStyle

The style of selected cells.

```
enum SelectionStyle
```

## Overview

You use these constants to set the value of the [`selectionStyle`](/documentation/UIKit/UITableViewCell/selectionStyle-swift.property) property.

## Topics

### Constants

[`UITableViewCellSelectionStyleNone`](/documentation/UIKit/UITableViewCell/SelectionStyle-swift.enum/none)

The cell has no distinct style for when it’s selected.

[`UITableViewCellSelectionStyleBlue`](/documentation/UIKit/UITableViewCell/SelectionStyle-swift.enum/blue)

The cell has a default background color when it’s selected.

[`UITableViewCellSelectionStyleGray`](/documentation/UIKit/UITableViewCell/SelectionStyle-swift.enum/gray)

The cell has a gray background when it’s selected.

[`UITableViewCellSelectionStyleDefault`](/documentation/UIKit/UITableViewCell/SelectionStyle-swift.enum/default)

The cell selection style to use for tables.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`Equatable`](/documentation/Swift/Equatable)

---

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)