title: How to use UITapGestureRecognizer on static UITableViewCell?
body: <p>How can I use <code>UITapGestureRecognizer</code> on static <code>UITableViewCell</code>? So far I just created an <code>IBOutlet</code> for a static <code>UITableViewCell</code>.</p>
  
  <pre><code>@IBOutlet weak var settingCell: UITableViewCell!
  </code></pre>
  
  <p>What I want is for this <code>IBOutlet</code> to trigger when the user taps this <code>UITableViewCell</code>.</p>
  
  <pre><code>@IBAction func share(sender: AnyObject) {
      let vc = UIActivityViewController(activityItems: [NSURL(string:"https://www.apple.com/my/itunes/")!], applicationActivities: nil)
      /* If you want to exclude certain types from sharing
      options you could add them to the excludedActivityTypes */
      vc.excludedActivityTypes = [UIActivityTypePostToTwitter]
      self.presentViewController(vc, animated: true, completion: nil)
  }
  </code></pre>
  
  <p>How can I do this?</p>