title: Executing code in background
body: <p>I have a application that periodically (via an <code>NSTimer</code>) asks for the users location using <code>locationManager:startUpdatingLocation</code> I want the locationManager to run in the background so have entered "UIBackgroundModes = location" in the info.plist file. </p>
  
  <p>My question is I am not seeing the results I expected, am I right in thinking that when I press the home button the application delegate calls "applicationDidEnterBackground" but although locationManager is allowed to continue my NSTimer is getting suspended (and as a consequence its not calling startUpdatingLocation to periodically query the devices position). Any ideas / solutions would be much appreciated ...</p>
  
  <p>Gary.</p>