title: Load UIWebView in a background fetch
body: <p>Short version: in my app background fetch works like a charm except that when I try to load contents in a webview it does nothing at all!</p>
  
  <p>Long version: I set the right capabilities in the project, set the fetch interval and implement the</p>
  
  <pre><code>- (void) application:(UIApplication *)application performFetchWithCompletionHandler:(void (^)(UIBackgroundFetchResult))completionHandler
  </code></pre>
  
  <p>method as in the examples and it works. But then, to complete my background fetch I need to load some contents in a UIWebView. And this doesn't work. Simply the process somehow "get lost" when i call:</p>
  
  <pre><code>[myWebview loadRequest:request];
  </code></pre>
  
  <p>(of course it works when in foreground, but does nothing when in background).</p>
  
  <p>I also try to force the webview to be loaded in the main thread, but then the system simply halt it 'till the app return in foreground mode (it make sense, we are in background!)</p>
  
  <p>So, there's a way to load a UIWebView while in background? Please note I can't simply download the contents with NSURLSession, 'cause the webpage contains javascript that load some of the frames (and I can't ask for a redesign of the webpage).</p>
  
  <p><strong>Edit</strong>: probably I wasn't crear enough when I wrote the question, but trying to execute a task it in the main_queue (with a dispatch_async o likewise methods) while in a <strong>background fetch</strong> does not work. I tried it before asking...</p>