0

Is it possible to apply gradient color to string while drawing string using draw(in:withAttributes:) with textattributes? Any help would be appreciated.

Kishan Bhatiya
  • 1,895
  • 7
  • 14
  • 1
    Does this answer your question? [How do I add a gradient to the text of a UILabel, but not the background?](https://stackoverflow.com/questions/1266179/how-do-i-add-a-gradient-to-the-text-of-a-uilabel-but-not-the-background) – Desdenova Jun 02 '21 at 14:45

1 Answers1

-1

I think it is possible. Using that property, you type in a built in color with apostrophes around it or use rgb(#,#,#).

Dharman
  • 26,923
  • 21
  • 73
  • 125