---
title: zIndex
framework: UIKit
role: symbol
role_heading: Instance Property
platforms: [iOS 27.1+, iPadOS 27.1+]
path: uikit/uiarrangementviewcontroller/viewstate/zindex
---

# zIndex

The z-index of the view within the arrangement.

## Declaration

```swift
var zIndex: Int { get }
```

## See Also

### Getting the state

- [isHidden](uikit/uiarrangementviewcontroller/viewstate/ishidden.md)
- [splitAxis](uikit/uiarrangementviewcontroller/viewstate/splitaxis.md)
