---
title: "performBatchUpdates(_:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uitabbarcontroller/performbatchupdates(_:)"
---

# performBatchUpdates(_:)

Animates multiple tab changes as a single update.

## Declaration

```swift
func performBatchUpdates(_ updates: () -> Void)
```

## Discussion

Discussion Use this method when you need to make several changes to tab properties simultaneously. Changes made inside the updates block are coalesced into a single animated layout pass, preventing intermediate states from being visible to the user. The updates block is called synchronously. You can safely read and write any mutable tab properties inside this block.
