Customize the iOS SDK
When a customer initiates a payment with the iOS SDK, their payment information is collected via 2 customizable forms:
- Payment Form: prompts users for their payment card details
- Billing Form: prompts users for their billing information
The styling of these forms can be customized through the use of the paymentFormStyle
and billingFormStyle
objects, which are wrapped in the PaymentStyle
wrapper.
1PaymentStyle(paymentFormStyle: YourPaymentStyle(),2 billingFormStyle: YourBillingStyle())
You can choose between three different options for customization, depending on how much control you need over the forms' UI design. In order of increasing complexity these are:
Default form styling
Use our default iOS SDK option to quickly and easily display payment and billing forms, and add basic font and color customization.
Themed form styling
Use our themed option to apply a custom theme to the components displayed, for greater control over the look of your payment forms.
Custom form styling
Use our fully custom option to build and define your own components to display across the payment and billing forms.