title: pausing spritekit game using appdelegate in ios8
body: <p>I have a pause menu in my game that I want to toggle when the i hit my home button.  it works when I'm within my game, however when I hit my home button the menu comes up, but the game will not pause.</p>
  
  <p>when i restart the app, the menu is still there, but the game un-pauses itself.  It seems like spritekit automatically pauses and restarts the game on its own when you leave and enter the app.  When I'm within the app I have full control over it.  But when I'm exiting/entering the app it behaves how it likes. </p>
  
  <p>Any suggestions?</p>
  
  <pre><code>func applicationWillResignActive(application: UIApplication!) {
      // get the root viewcontroller
      // toggle my pausemenu method.  pause menu sets skview.paused = true
  }
  </code></pre>