Instance Property

cornerRadius

The radius, in points, for the rounded corners on the button.

Declaration

var cornerRadius: CGFloat { get set }

Discussion

To remove the rounded corners, set this value to 0.0.

The default value is 4.0.

See Also

Configuring the Appearance

enum PKPaymentButtonType

The content of the buttons that can be created using the init(type:style:) method.

enum PKPaymentButtonStyle

The appearance of the buttons that can be created using the init(type:style:) method.