title: Issues with Today Widget extension
body: <p>I have a Today Widget for my app, however I have been told about an issue with it.</p>
  
  <p>Basically, what seems to be happening (I can't test this for myself) is that the widget will sometimes just display 'unable to load' and other times it will just display with a height of 0.</p>
  
  <p>I can't really see why this is happening. I've tested it out on my device and the simulator for weeks now and have never ran into this issue.</p>
  
  <p>I was wondering if it could possibly be down to the refresh code:</p>
  
  <pre><code>    func widgetPerformUpdateWithCompletionHandler(completionHandler: ((NCUpdateResult) -&gt; Void)!) {
      // Perform any setup necessary in order to update the view.
  
      var defaults = NSUserDefaults(suiteName: "group.AffordIt")
      var newCheck = defaults.boolForKey("new")
  
      if newCheck == true {
          completionHandler(NCUpdateResult.NewData)
      } else {
          completionHandler(NCUpdateResult.NoData)
      }
  }
  </code></pre>
  
  <p>'newCheck' is true whenever something changes within my app that needs to be displayed in the widget.</p>
  
  <p>Does anyone know what the possible causes of these issues are?</p>