title: Scheduled NSTimer when app is in background?
body: <p>How do people deal with a scheduled NSTimer when an app is in the background?</p>
  
  <p>Let's say I update something in my app every hour. </p>
  
  <pre><code>updateTimer = [NSTimer scheduledTimerWithTimeInterval:60.0*60.0 
  target:self 
  selector:@selector(updateStuff) 
  userInfo:nil 
  repeats:YES];
  </code></pre>
  
  <p>When in the background, this timer obviously doesn't fire(?). What should happen when the user comes back to the app..? Is the timer still running, with the same times?</p>
  
  <p>And what would would happen if the user comes back in over an hour. Will it trigger for all the times that it missed, or will it wait till the next update time?</p>
  
  <p>What I would like it to do is update immediately after the app comes into the foreground, if the date it should have fired is in the past. Is that possible?</p>