One Logo Pool Ball
SwiftUI · IOS API REFERENCE

DefaultMenuStyle

struct · iOS 14.0+ · SDK 27.1

nonisolated struct DefaultMenuStyle

The default menu style, based on the menu's context. You can also use ``MenuStyle/automatic`` to construct this style.

Members (1)

init · iOS 14.0+

init

TypeScript
static init(): DefaultMenuStyle
Swift declaration
nonisolated init()

Creates a default menu style.

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

DefaultMenuStyle.makeBody(configuration:)

This protocol needs associated types that cannot yet cross the bridge.

All SwiftUI types →