---
title: both
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uiaxis/both
---

# both

A value that represents both axes.

## Declaration

```swift
static var both: UIAxis { get }
```

## See Also

### Constants

- [horizontal](uikit/uiaxis/horizontal.md)
- [vertical](uikit/uiaxis/vertical.md)
