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

# defaultRowAnimation

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

```
var defaultRowAnimation: UITableView.RowAnimation { get set }
```

## Discussion

The default value of this property is [`UITableView.RowAnimation.automatic`](/documentation/UIKit/UITableView/RowAnimation/automatic).

If you set the value of this property, the new value becomes the default row animation for the next update that uses [`applySnapshot(_:animatingDifferences:)`](/documentation/UIKit/UITableViewDiffableDataSourceReference/applySnapshot(_:animatingDifferences:)) or [`applySnapshot(_:animatingDifferences:completion:)`](/documentation/UIKit/UITableViewDiffableDataSourceReference/applySnapshot(_:animatingDifferences:completion:)).

---

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)