<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: -",
    "tvOS: 13.0.0 -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITableViewDiffableDataSource-2euir/defaultRowAnimation",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:5UIKit29UITableViewDiffableDataSourceC19defaultRowAnimationSo0bchI0Vvp"
  },
  "title" : "defaultRowAnimation"
}
-->

# defaultRowAnimation

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

```
@MainActor @preconcurrency 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 [`apply(_:animatingDifferences:completion:)`](/documentation/UIKit/UITableViewDiffableDataSource-2euir/apply(_: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)