I have a custom UITableViewCell with two labels (UILabel). The table cells are used to display information / text. Inside some of these cells (not all) there is text in this way set:
cell.myTextlabel.text = @"http://www.google.de"
Now I want if I click this text / link, a safari webbrowser should open this webpage. How can I do this?
Best Regards Tim.
Set userInteractionEnabled to YES of your label and add a gesture recognizer to it:
Then implement the action method: