Can I mix two UIColor together?

后端 未结 6 1558
暖寄归人
暖寄归人 2021-01-12 05:51

I have colorA which is [UIColor blueColor], and colorB, which is [UIColor redColor]. Is this possible for me to render a [UIColor purple]

6条回答
  •  遥遥无期
    2021-01-12 06:37

    You can't mix two UIColors directly as you mention in your question. Anyways there is an example to mix two colors using other schemes. The link for same is as follows:

    Link Here

提交回复
热议问题