title: Display textView label and make it clickable with dynamic URL
body: <p>I have a <code>textView</code> which should always have the same <code>text</code> : &quot;Link öffnen&quot;. This is what I got so far:</p>
  <pre><code>let linkLabel: UITextView = {
          let v = UITextView()
          v.backgroundColor = .clear
          v.textAlignment = .left
          v.isSelectable = false
          v.isScrollEnabled = false
          let padding = v.textContainer.lineFragmentPadding
          v.textContainerInset =  UIEdgeInsets(top: 0, left: -padding, bottom: 0, right: -padding)
          v.attributedText = NSAttributedString(string: &quot;Link öffnen&quot;, attributes:
              [.underlineStyle: NSUnderlineStyle.single.rawValue,
               NSAttributedString.Key.font: UIFont(name: &quot;AvenirNext-Medium&quot;, size: 15)!,
              NSAttributedString.Key.foregroundColor: UIColor.darkCustom])
          
          v.translatesAutoresizingMaskIntoConstraints = false
          return v
  }()
  </code></pre>
  <p>It displays the <code>textView</code> exactly how I want it to. What is missing now is the <code>clickable</code> function. This <code>textView</code>  is inside a <code>tableViewCell</code> and it should be clickable and each should open a certain <code>url</code> which is saved inside the <code>cell</code>. I know I can use <code>SFSafariViewController</code> for example for that. The problem is to make the <code>textView</code> clickable. What is the easiest/best practice way to do this here?</p>