<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -",
    "macCatalyst: 14.0.0 -",
    "macOS: 11.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/MenuPickerStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI15MenuPickerStyleV"
  },
  "title" : "MenuPickerStyle"
}
-->

# MenuPickerStyle

A picker style that presents the options as a menu when the user presses a
button, or as a submenu when nested within a larger menu.

```
struct MenuPickerStyle
```

## Overview

You can also use [`menu`](/documentation/SwiftUI/PickerStyle/menu) to construct this style.

## Topics

### Creating the picker style

[`init()`](/documentation/SwiftUI/MenuPickerStyle/init())

Creates a menu picker style.



---

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)