One Logo Pool Ball
SwiftUI · IOS API REFERENCE

ButtonMenuStyle

struct · iOS 16.0+ · SDK 27.1

nonisolated struct ButtonMenuStyle

A menu style that displays a button that toggles the display of the menu's contents when pressed. Use ``MenuStyle/button`` to construct this style.

Members (1)

init · iOS 16.0+

init

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

Creates a button menu style.

Skipped declarations

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

ButtonMenuStyle.makeBody(configuration:)

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

All SwiftUI types →