-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,694
  • 13
  • 151
  • 195
Rob
  • 2,086
  • 18
  • 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,639
  • 3
  • 13
  • 22