Follow the Android SDK customization docs.
On your iOS layer e.g. in the AppDelegate, set the dropInStyle
or the cardComponentStyle
of AdyenAppearance depending on your integration.
The SDK will use your provided style and apply it automatically. Feel free to check out the example app implementation.
Drop-in:
import Adyen
import adyen_checkout
var dropInStyle = Adyen.DropInComponent.Style()
dropInStyle.formComponent.mainButtonItem.button.backgroundColor = .black
dropInStyle.formComponent.mainButtonItem.button.title.color = .white
AdyenAppearance.dropInStyle = dropInStyle
Card Component:
import Adyen
import adyen_checkout
var cardComponentStyle = Adyen.FormComponentStyle()
cardComponentStyle.mainButtonItem.button.backgroundColor = .black
cardComponentStyle.mainButtonItem.button.title.color = .white
AdyenAppearance.cardComponentStyle = cardComponentStyle