如何为 ios 设置图像颜色段?

How can i set segment in image color for ios?

我需要在段 0 中设置黑色图像 ... 但颜色总是遵循色调颜色...... 像这样

如何设置分段图像颜色?

感谢您的宝贵时间。

从您的原始文件夹图像开始,使用 . AlwaysOriginal 的渲染模式调用 imageWithRenderingMode:。现在图像将完全按原样使用,没有着色。