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.

StructureiOS 14.0+macOS 11.0+tvOS 17.0+MenuPickerStyle in SwiftUI