what I want to do is change only the black color of my original image to another color, and keep for example white color of my image
what I have tried is:
       cell.iconeEcoute?.image =     cell.iconeEcoute?.image!.imageWithRenderingMode(UIImageRenderingMode.AlwaysTemplate)
       cell.iconeEcoute?.tintColor = colorHexIcone
But this code change the entire image color, and I want to keep green color and replace only black color in the image
any help would be appreciated