One Logo Pool Ball
SwiftUI · IOS API REFERENCE

PlainButtonStyle

struct · iOS 13.0+ · SDK 27.1

nonisolated struct PlainButtonStyle

A button style that doesn't style or decorate its content while idle, but may apply a visual effect to indicate the pressed, focused, or enabled state of the button. You can also use ``PrimitiveButtonStyle/plain`` to construct this style.

Members (1)

init · iOS 13.0+

init

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

Creates a plain button style.

Skipped declarations

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

PlainButtonStyle.makeBody(configuration:)

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

All SwiftUI types →