title: How to make a UILabel clickable?
body: <p>I would like to make a UILabel clickable.</p>
  
  <p>I have tried this, but it doesn't work:</p>
  
  <pre><code>class DetailViewController: UIViewController {
  
      @IBOutlet weak var tripDetails: UILabel!
  
      override func viewDidLoad() {
          super.viewDidLoad()
          ...
          let tap = UITapGestureRecognizer(target: self, action: Selector("tapFunction:"))
          tripDetails.addGestureRecognizer(tap)
      }
  
      func tapFunction(sender:UITapGestureRecognizer) {
          print("tap working")
      }
  }
  </code></pre>