<!--
{
  "availability" : [
    "iOS: 27.1.0 -",
    "iPadOS: 27.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIArrangementViewController/updateArrangement(_:animated:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:So27UIArrangementViewControllerC5UIKitE17updateArrangement_8animatedyx_SbtAbCE0F0RzlF"
  },
  "title" : "updateArrangement(_:animated:)"
}
-->

# updateArrangement(_:animated:)

Updates the arrangement of the view controller.

```
@MainActor @preconcurrency final func updateArrangement<A>(_ arrangement: A, animated: Bool = false) where A : UIArrangementViewController.Arrangement
```

## Parameters

`arrangement`

The arrangement to apply.

`animated`

Whether to animate the arrangement transition.

---

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)