title: UILabel set onClick
body: <p>I'm building an application in Swift 3, so I want to call a function if I click on a particular UILabel, so I'm write this code but not works:</p>
  
  <pre><code>let tap = UITapGestureRecognizer(target: self, action: #selector(ViewController.tapFunction))
      self.labelTemp.isUserInteractionEnabled = true
      self.labelTemp.addGestureRecognizer(tap)
  </code></pre>
  
  <p>How can I render UILabel clickable ?</p>