title: UISwipeGestureRecognizer on tvOS is giving me a EXC_BAD_ACCESS
body: <p>I'm trying to add gesture code for swipe up/down to my <code>UIViewController</code> in a tvOS app.</p>
  
  <pre class="lang-swift prettyprint-override"><code>    override func loadView() {
          let swipeDown = UISwipeGestureRecognizer(
              target: self,
              action: #selector(self.respondToSwipeGesture)
          )
          swipeDown.direction = UISwipeGestureRecognizer.Direction.down
          self.view.addGestureRecognizer(swipeDown)
  
          let swipeUp = UISwipeGestureRecognizer(
              target: self,
              action: #selector(self.respondToSwipeGesture)
          )
          swipeUp.direction = UISwipeGestureRecognizer.Direction.up
          self.view.addGestureRecognizer(swipeUp)
      }
  
      @objc private func respondToSwipeGesture(gesture: UIGestureRecognizer) {
          if let swipeGesture = gesture as? UISwipeGestureRecognizer {
              switch swipeGesture.direction {
                  case UISwipeGestureRecognizer.Direction.down:
                      print("Swiped down")
                  case UISwipeGestureRecognizer.Direction.up:
                      print("Swiped up")
                  default:
                      break
              }
          }
      }
  </code></pre>
  
  <p>When I run this I get a </p>
  
  <blockquote>
    <p>Thread 1: EXC_BAD_ACCESS (code=2, address=0x7ffee7146fe8)</p>
  </blockquote>
  
  <p>on the <code>let swipeDown</code> line in the <code>loadView</code> function.</p>
  
  <p>I'm using Xcode 11. What am I missing here?</p>