title: How to call gesture tap on UIView programmatically in swift
body: <p>I have a UIView and and I have added tap gesture to it: </p>
  
  <pre><code>let tap = UITapGestureRecognizer(target: self, action: Selector("handleTap:"))
  tap.delegate = self
  myView.addGesture(tap)
  </code></pre>
  
  <p>I am trying to call it programmatically in the testfile.</p>
  
  <pre><code>sendActionForEvent
  </code></pre>
  
  <p>I am using this function, but it is not working:</p>
  
  <pre><code>myView.sendActionForEvent(UIEvents.touchUpDown)
  </code></pre>
  
  <p>It shows unrecognised selector sent to instance.</p>
  
  <p>How can I solve this problem?</p>