Thursday, April 21, 2011

Multiple UILabel or just one?

I have a text which looks like the following,


the url of the page is http://www.myurl.com, and the phone # is (999)999-9999, blah blah blah...

And I want to show it in a way such that the URL and the phone # are both in different color and bolded. Can I do it using just one UILabel control, or I need to parse them out and put them onto separate UILabel controls. (Note that the text itself could span multiple lines.) How can I do it?

From stackoverflow

0 comments:

Post a Comment