0

I have to display data from server which is coming with hyperlink. Ex: NSString *messageString = @"Click <a href=\"http://www.google.com\">here</a>&nbsp;";

I know that in web view its easy to display but we need to display in UitableView.

I have tried KIlabel, TTTAttributedLabel but this was of no help as they are detecting only link not hyperlink.

So how will I display this kind of data in UitableView.

iCoder4777
  • 1,682
  • 1
  • 14
  • 35
  • Try this http://stackoverflow.com/questions/20541676/ios-uitextview-or-uilabel-with-clickable-links-to-actions – Ashish P. Jul 23 '15 at 05:46
  • This one is pre generated text with some tag. This is totally different from what I am looking for – iCoder4777 Jul 23 '15 at 05:59
  • Refer this http://stackoverflow.com/questions/8839464/uilabel-string-as-text-and-links – Manoj Chandel Jul 23 '15 at 06:10
  • Are you doing any action on selecting the UITableView cells? If no you can display the link in a webView after selecting the UITableViewCell of the UITableView. – MixCoded Jul 23 '15 at 06:24
  • Have you got the solution? I have same issue and I tried all KILabel,TTTAttributedLabel,ZSWTappableLabel. – Mansi Dobariya Dec 27 '18 at 05:30

0 Answers0