Contents

PKPaymentButtonStyle.automatic

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

Declaration

case automatic

Discussion

The button uses the PKPaymentButtonStyle.white style in Dark Mode and the PKPaymentButtonStyle.black style in Light Mode.

See Also

Payment button styles