Skip to content

How to tint a APNG Image?  #108

@StefaniOSApps

Description

@StefaniOSApps

I would like to tint a Image like

let imageView = UIImageView()
imageView.image = UIImage(named: "custom-icon")?.withRenderingMode(.alwaysTemplate)
imageView.tintColor = .red

How can I do that with APNG?

let imageView = APNGImageView()
imageView.image = APNGImage(named: "custom-apng-icon", progressive: true)
imageView.tintColor = .red

..but it does not work

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