跳转至
Structure

BorderlessButtonStyle

A button style that doesn't apply a border.

Declaration


Overview

A view containing a VStack with three buttons; the first button is plain, the second is borderless, and the last is the default style.

To apply this style to a button, or to a view that contains buttons, use the buttonStyle(_:) modifier.

Availability

iOS 13.0+

macOS 10.15+

Topics


Type Alias

Body A view that represents the body of a button.


Instance Method

makeBody(configuration:) Creates a view that represents the body of a button.


Initializer

init() Creates a borderless button style.