DefaultMenuStyle

The default menu style, based on the menu's context.

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

Declaration

React
type DefaultMenuStyle = SwiftOpaque<'DefaultMenuStyle'>;
Swift
nonisolated struct DefaultMenuStyle

Overview

You can also use MenuStyle.automatic to construct this style.

From Apple’s SwiftUI documentation. Code samples there are Swift.

See also

More in Styles.