title: Adding overlay buttons to tvOS AVPlayerViewController
body: <p>I'm trying to build an overlay that appears over an AVPlayer when I press pause. The problem I'm having is that while I can overlay buttons just fine I can't get the focus engine in tvOS to focus on them... I'm pretty sure this is happening as the player frame robs focus (it's fullscreen @ 1080p) and I can't focus on objects that are inside of its frame. </p>
  
  <p>Pseudo code for what I'm doing:</p>
  
  <pre><code>class MyViewController: UIViewController {
      var playerController = AVPlayerViewController()
      @IBOutlet weak var button: UIButton! // button centred on screen that requires focus
  
      override func viewDidLoad() {
          super.viewDidLoad()
          self.playerController.player = AVPlayer(url: myURL)
          self.playerController.view.frame = self.view.bounds
          self.view.addSubview(self.playerController.view)
          self.view.bringSubview(toFront: self.button)
      }
  
      // ... functions that enable listeners and show/hide button when self.playerController.player rate changes
  }
  </code></pre>
  
  <p>What I want is to be able to press pause, then swipe up to get focus on the button(s) instead of the seek bar and then swipe back down to the seek bar if needed. Much like the Apple Music application that comes with the tvOS. </p>
  
  <p>Thanks.</p>