YRPayment
YRPayment copied to clipboard
How to change brand image later on?
@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?
@yassram can you look into this please?