Contents

defaultRowAnimation

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

Declaration

@MainActor @preconcurrency var defaultRowAnimation: UITableView.RowAnimation { get set }

Discussion

The default value of this property is 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:).

See Also

Updating data