<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "tvOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITabBarController/performBatchUpdates(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UITabBarController(im)performBatchUpdates:"
  },
  "title" : "performBatchUpdates(_:)"
}
-->

# performBatchUpdates(_:)

Animates multiple tab changes as a single update.

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

## 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.

---

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)