<!--
{
  "availability" : [
    "iOS: 27.1.0 -",
    "iPadOS: 27.1.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIArrangementViewController/ViewState",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "s:So27UIArrangementViewControllerC5UIKitE0B5StateV"
  },
  "title" : "UIArrangementViewController.ViewState"
}
-->

# UIArrangementViewController.ViewState

The state of a view within an arrangement.

```
struct ViewState
```

## Topics

### Getting the state

[`var isHidden: Bool`](/documentation/UIKit/UIArrangementViewController/ViewState/isHidden)

A Boolean value that indicates whether the view is hidden in the current arrangement.

[`var splitAxis: UIAxis`](/documentation/UIKit/UIArrangementViewController/ViewState/splitAxis)

The axis of the current split for the view within the arrangement if it exists.

[`var zIndex: Int`](/documentation/UIKit/UIArrangementViewController/ViewState/zIndex)

The z-index of the view within the arrangement.



---

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)