YRPayment icon indicating copy to clipboard operation
YRPayment copied to clipboard

How to change brand image later on?

Open hamzabinamin opened this issue 4 years ago • 1 comments

@yassram Great library, had a issue I was hoping you could help me with.

After the card has been displayed on the screen, how can I change its brand icon image to something else.

I have tried doing the following: self.creditCard.cardType = .custom(UIImage(named: "Custom")

self.creditCard = YRPaymentCreditCard(type: .custom(image))

Do I need to redraw the card completely in order to change the brand image?

hamzabinamin avatar Oct 11 '19 14:10 hamzabinamin

@yassram can you look into this please?

hamzabinamin avatar Oct 20 '19 17:10 hamzabinamin