Search code examples
card.io

Card.io - Cancel Button tint color


How can I set the cancel button tint color?

I've tried setting navigationBarStyle and navigationBarTintColor, but those don't change that.

Thanks.

Scan view


Solution

  • @fernandospr use UIAppearance prior to presenting the CardIOPaymentViewController.

    Like this:

    [[UIBarButtonItem appearanceWhenContainedIn:[CardIOPaymentViewController class], nil] setTintColor:specialColor];