-2

Is there a way to embed a url into only part of a string in UILabel WITHOUT using TTTAttributedLabel?

For example, in the following string @"For more information click here. Thank you!"

"Click here" would be the underlined hyperlink, but the rest of the string would not be clickable. Any ideas?

Thanks!

Leena
  • 3
  • 2

2 Answers2

0

You can use OHAttributedLabel

Or use UIWebView:
[webView loadHTMLString:yourString baseURL:nil];
and UIWebViewDelegate to handler click link event

More in this topic

Community
  • 1
  • 1
Huy Nghia
  • 996
  • 8
  • 22
0

Yes there is with attributed strings you can assign characteristics like color, underline and link to a rave within the string.

  • This answer would be must more useful if it provided details about how to implement this feature. – rmaddy Sep 17 '14 at 00:46