---
title: "axes(_:)"
framework: UIKit
role: symbol
role_heading: Instance Method
platforms: [iOS 27.1+, iPadOS 27.1+]
path: "uikit/uioverlayarrangement-swift.struct/axes(_:)"
---

# axes(_:)

Sets the supported axes of the arrangement.

## Declaration

```swift
func axes(_ axes: UIAxis) -> UIOverlayArrangement
```

## Parameters

- `axes`: The supported axes.
