title: iPhone X screenEdgePanGesture not working (swift)?
body: <p>I'm running some regular edgePan code to initialise edgePan detection:</p>
  
  <pre><code>func setupGestures() {
      let edgePan = UIScreenEdgePanGestureRecognizer(target: self, action: #selector(screenEdgeSwiped))
      edgePan.edges = .left
      edgePan.cancelsTouchesInView = false
      self.view.addGestureRecognizer(edgePan)
  }
  </code></pre>
  
  <p>and the selector:</p>
  
  <pre><code>func screenEdgeSwiped(recognizer: UIScreenEdgePanGestureRecognizer) {
      if recognizer.state == .recognized {
          if slideOutMenuView != nil {
              slideOutMenuView.show()
          }
          else {
              print("THE SLIDE OUT MENU VIEW IS NIL")
          }
      }
  }
  </code></pre>
  
  <p>This all works fine but when I give it a test run on the iPhone X. It seems to not even register the gesture.
  Is there a different screenGesture that they have introduced or have they completely overwritten the functionality?</p>
  
  <p>The App is in landscape mode.</p>