title: Getting the UIViewController from an SKScene
body: <p>From what I understand, the UIViewController manages interactions with the interface, such as transitions, while a View is just an object, a vessel for context. <strong>Therefore, I am confused on how to get the UIViewController of an SKScene</strong> </p>
  
  <p>I am trying to implement <em>Google Mobile Ads</em> into my project:</p>
  
  <pre><code>interstitial.present(fromRootViewController: /* UIViewController */)
  </code></pre>
  
  <p>However, one of the arguments requires an UIViewController object. I have looked at some other different questions, but most were a bit outdated and in Objective-c. <strong>Does anyone have any suggestions on the best way to get the UIViewController of an SKScene</strong></p>
  
  <p>This is the method where I am initializing the interstitial:</p>
  
  <pre><code>override func didMove(to view: SKView) {
  
          interstitial = GADInterstitial(adUnitID: "code")
          let request = GADRequest()
          interstitial.load(request)
  
          if interstitial.isReady {
          //    interstitial.present(fromRootViewController: /* UIViewController */)
          } else {
              print("Ad wasn't ready")
          }
  
          self.anchorPoint = CGPoint(x: 0.5, y: 0.5)
          self.backgroundColor = UIColor(red:0.17, green:0.24, blue:0.31, alpha:1.0)
          self.physicsWorld.gravity = CGVector(dx: 0, dy: 0)
      }
  </code></pre>