title: how to get tap point (coordinates) in iOS swift
body: <p>I'm trying to get the coordinates of a touch on the screen, To show a popup menu</p>
  
  <p><em>how to use in page view controller</em></p>
  
  <p>What am I doing wrong here?</p>
  
  <pre><code>  override func touchesBegan(touches: Set&lt;UITouch&gt;, withEvent event: UIEvent?) {
      if let touch = touches.first {
        let position = touch.locationInView(view)
        print(position)
      }
    }
  </code></pre>