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

# UITableView.Style

Constants for the table view styles.

```
enum Style
```

## Overview

You set the table style when you initialize the table view (see [`init(frame:style:)`](/documentation/UIKit/UITableView/init(frame:style:))). You can’t modify the style thereafter.

## Topics

### Styles

[`UITableViewStylePlain`](/documentation/UIKit/UITableView/Style-swift.enum/plain)

A plain table view.

[`UITableViewStyleGrouped`](/documentation/UIKit/UITableView/Style-swift.enum/grouped)

A table view where sections have distinct groups of rows.

[`UITableViewStyleInsetGrouped`](/documentation/UIKit/UITableView/Style-swift.enum/insetGrouped)

A table view where the grouped sections are inset with rounded corners.

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)