-2

I have a UILabel.

I have connected it and passing a value of string to it and it is showing as text correctly.

So, in this string how can I add a link to a word? In web we use <a href="link"></a>, but for Swift,

jscs
  • 63,095
  • 13
  • 148
  • 192
Rob
  • 1,858
  • 17
  • 25

1 Answers1

0

You can use a UITextView and select Detection for Links, Phone Numbers and other things in the inspector.

Gowtham Sooryaraj
  • 3,112
  • 3
  • 12
  • 22