1

I need to add a long string to a UiTextView/UiLabel or any UI Element. Parts of this string are of different colors. Also, i need to find out what will be the height of this element after setting this attributed string on it, given i hcan work out a fixed width. I know i can use boundingRectWithSize:, but how do i create dictionary, as there are more than one NSForegroundColorAttributeName values. Please help. Thanks in advance.

Avi
  • 2,196
  • 18
  • 18

0 Answers0