views:

68

answers:

1

Hi friends,,

How to assign a color to the particular text. i don't want to use the textview.

Thanks

A: 

If you don't want use neither UITextView or UILabel you have to create your how view to display the text.

In this view you have to get the context, set the color and then display the text with the function: CGContextShowTextAtPoint

Greensource