---
title: UIContextMenuConfiguration.ElementOrder.automatic
framework: uikit
role: symbol
role_heading: Case
path: uikit/uicontextmenuconfiguration/elementorder/automatic
---

# UIContextMenuConfiguration.ElementOrder.automatic

A constant that allows the system to choose an ordering strategy according to the current context.

## Declaration

```swift
case automatic
```

## See Also

### Constants

- [UIContextMenuConfiguration.ElementOrder.priority](uikit/uicontextmenuconfiguration/elementorder/priority.md)
- [UIContextMenuConfiguration.ElementOrder.fixed](uikit/uicontextmenuconfiguration/elementorder/fixed.md)
