<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 9.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/MenuOrder/automatic",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI9MenuOrderV9automaticACvpZ"
  },
  "title" : "automatic"
}
-->

# automatic

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

```
static let automatic: MenuOrder
```

## Discussion

On iOS, this order resolves to [`fixed`](/documentation/SwiftUI/MenuOrder/fixed) for menus
presented within scrollable content. Pickers that use the
[`menu`](/documentation/SwiftUI/PickerStyle/menu) style also default to [`fixed`](/documentation/SwiftUI/MenuOrder/fixed) order. In all
other cases, menus default to [`priority`](/documentation/SwiftUI/MenuOrder/priority) order.

On macOS, tvOS and watchOS, the `automatic` order always resolves to
[`fixed`](/documentation/SwiftUI/MenuOrder/fixed) order.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)