Skip to content

How to change brand image later on? #5

@hamzabinamin

Description

@hamzabinamin

@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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions