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

# UITableView.RowAnimation

The type of animation to use when inserting or deleting rows.

```
enum RowAnimation
```

## Overview

You specify one of these constants as a parameter of the [`insertRows(at:with:)`](/documentation/UIKit/UITableView/insertRows(at:with:)), [`insertSections(_:with:)`](/documentation/UIKit/UITableView/insertSections(_:with:)), [`deleteRows(at:with:)`](/documentation/UIKit/UITableView/deleteRows(at:with:)),[`deleteSections(_:with:)`](/documentation/UIKit/UITableView/deleteSections(_:with:)), [`reloadRows(at:with:)`](/documentation/UIKit/UITableView/reloadRows(at:with:)), and [`reloadSections(_:with:)`](/documentation/UIKit/UITableView/reloadSections(_:with:)) methods.

## Topics

### Constants

[`UITableViewRowAnimationFade`](/documentation/UIKit/UITableView/RowAnimation/fade)

The inserted or deleted row or rows fade into or out of the table view.

[`UITableViewRowAnimationRight`](/documentation/UIKit/UITableView/RowAnimation/right)

The inserted row or rows slide in from the right; the deleted row or rows slide out to the right.

[`UITableViewRowAnimationLeft`](/documentation/UIKit/UITableView/RowAnimation/left)

The inserted row or rows slide in from the left; the deleted row or rows slide out to the left.

[`UITableViewRowAnimationTop`](/documentation/UIKit/UITableView/RowAnimation/top)

The inserted row or rows slide in from the top; the deleted row or rows slide out toward the top.

[`UITableViewRowAnimationBottom`](/documentation/UIKit/UITableView/RowAnimation/bottom)

The inserted row or rows slide in from the bottom; the deleted row or rows slide out toward the bottom.

[`UITableViewRowAnimationNone`](/documentation/UIKit/UITableView/RowAnimation/none)

The inserted or deleted rows use the default animations.

[`UITableViewRowAnimationMiddle`](/documentation/UIKit/UITableView/RowAnimation/middle)

The table view attempts to keep the old and new cells centered in the space they did or will occupy.

[`UITableViewRowAnimationAutomatic`](/documentation/UIKit/UITableView/RowAnimation/automatic)

The table view chooses an appropriate animation style for you.

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)