title: Unexpected nil window in _UIApplicationHandleEventFromQueueEvent
body: <p>One of my old apps is not working with iOS8. When I start the app up, and try to tap on the screen anywhere, I get this message in my console:</p>
  
  <pre><code>unexpected nil window in _UIApplicationHandleEventFromQueueEvent, 
  _windowServerHitTestWindow: &lt;UIWindow: 0x7fe4d3e52660; frame = (0 0; 320 568); 
  opaque = NO; autoresize = RM+BM; gestureRecognizers = &lt;NSArray: 0x7fe4d3e2c450&gt;; 
  layer = &lt;UIWindowLayer: 0x7fe4d3e86a10&gt;&gt;
  </code></pre>
  
  <p>I'm using an old style MainWindow.xib. In the MainWindow.xib is my Window object, as well as a UINavigationController which has its first View Controller defined within as well. The image below is showing the Outlets connected to the App Delegate. </p>
  
  <p>The white "view" in the screenshot below is the UIWindow. The view on the right is the UINavigationController (nav bar hidden) with the first ViewController defined inside it.</p>
  
  <p><img src="https://i.stack.imgur.com/CROKa.png" alt="enter image description here"></p>
  
  <p>How do I fix this without recreating the entire app from scratch with a new project?</p>
  
  <p>EDIT: I just discovered there is a TINY strip wherein my buttons will actually receive their taps/clicks.</p>
  
  <p>I've also noticed that my self.view.window is nil. How do I make sure that is set?</p>
  
  <p><img src="https://i.stack.imgur.com/gMZoy.png" alt="enter image description here"></p>