SwiftUI · IOS API REFERENCE
ButtonStyle
protocol · iOS 13.0+ · SDK 27.1
@MainActor @preconcurrency protocol ButtonStyleA type that applies standard interaction behavior and a custom appearance to all buttons within a view hierarchy. To configure the current button style for a view hierarchy, use the ``View/buttonStyle(_:)`` modifier. Specify a style that conforms to `ButtonStyle` when creating a button that uses the standard button interaction behavior defined for each platform. To create a button with custom interaction behavior, use ``PrimitiveButtonStyle`` instead.
Members (0)
This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.
Skipped declarations
No declarations were skipped in this snapshot.