You can change the color of the image by changing the general tintColor UIImage through UIAppearance , for example:
UIImageView.appearance().tintColor =.yellow
but this applies to the hue color (default) for all types of images in your application, so you can limit it to viewing images in a table, setting it this way:
UIImageView.appearance(whenContainedInInstancesOf: [UITableView.self]).tintColor =.yellow
You can also specify your own subclass of UITableView if you have one.
source share