1

It is quite strange. If string consist of this unicode "" and although I set text color like this:

[self.lblText setTextColor:[UIColor blackColor]];

I can't change color of "". I can't use image and it has to be text. Is there any black color globe or how can I change those unicode text/symbol to a specific color?

Paulo Mattos
  • 18,845
  • 10
  • 77
  • 85
Khant Thu Linn
  • 5,905
  • 7
  • 52
  • 120
  • Use `NSAttributedString` to set in label, follow http://stackoverflow.com/questions/14287386/change-string-color-with-nsattributedstring or http://stackoverflow.com/questions/14231879/is-it-possible-to-change-color-of-single-word-in-uitextview-and-uitextfield – Prakash Donga Jan 14 '17 at 18:30
  • Does it relate with NSAttributedString ? I thought it is because of unicode. – Khant Thu Linn Jan 14 '17 at 18:33
  • I think you are using emoji as result you can't the colors of it http://stackoverflow.com/questions/35000876/how-would-i-change-the-color-of-a-emoji – Prakash Donga Jan 14 '17 at 18:48

0 Answers0