---
title: automatic
framework: swiftui
role: symbol
role_heading: Type Property
path: swiftui/menuorder/automatic
---

# automatic

The ordering of the menu chosen by the system for the current context.

## Declaration

```swift
static let automatic: MenuOrder
```

## Discussion

Discussion On iOS, this order resolves to fixed for menus presented within scrollable content. Pickers that use the menu style also default to fixed order. In all other cases, menus default to priority order. On macOS, tvOS and watchOS, the automatic order always resolves to fixed order.

## See Also

### Getting menu orders

- [fixed](swiftui/menuorder/fixed.md)
- [priority](swiftui/menuorder/priority.md)
