One Logo Pool Ball
_PassKit_SwiftUI · IOS API REFERENCE

PayWithApplePayButtonStyle

struct · iOS 16.0+ · SDK 27.1

struct PayWithApplePayButtonStyle

Determines the color of the Pay With Apple Pay Button

Members (4)

get · iOS 16.0+

whiteOutline

TypeScript
static get whiteOutline(): PayWithApplePayButtonStyle
Swift declaration
static let whiteOutline: PayWithApplePayButtonStyle

A white button with black lettering and a black outline.

get · iOS 16.0+

black

TypeScript
static get black(): PayWithApplePayButtonStyle
Swift declaration
static let black: PayWithApplePayButtonStyle

A black button with white lettering.

get · iOS 16.0+

white

TypeScript
static get white(): PayWithApplePayButtonStyle
Swift declaration
static let white: PayWithApplePayButtonStyle

A white button with black lettering.

get · iOS 16.0+

automatic

TypeScript
static get automatic(): PayWithApplePayButtonStyle
Swift declaration
static let automatic: PayWithApplePayButtonStyle

A button that automatically changes its appearance when the user switches between Light Mode and Dark Mode.

Skipped declarations

No declarations were skipped in this snapshot.

All _PassKit_SwiftUI types →