Skip to content

Latest commit

 

History

History
35 lines (24 loc) · 1.09 KB

CUSTOMIZATION.md

File metadata and controls

35 lines (24 loc) · 1.09 KB

UI Customization

Android

Follow the Android SDK customization docs.

iOS

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