Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to change brand image later on? #5

Open
hamzabinamin opened this issue Oct 11, 2019 · 1 comment
Open

How to change brand image later on? #5

hamzabinamin opened this issue Oct 11, 2019 · 1 comment

Comments

@hamzabinamin
Copy link

@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
Copy link
Author

@yassram can you look into this please?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant