title: How do I get a background location update every n minutes in my iOS application?
body: <p>I'm looking for a way to get a background location update every n minutes in my iOS application.  I'm using iOS 4.3 and the solution should work for non-jailbroken iPhones.</p>
  
  <p>I tried / considered following options:</p>
  
  <ul>
  <li><code>CLLocationManager startUpdatingLocation/startMonitoringSignificantLocationChanges</code>: This works in the background as expected, based on the configured properties, but it seems not possible to force it to update the location every n minutes</li>
  <li><code>NSTimer</code>: Does work when the app is running in the foreground but doesn't seem to be designed for background tasks</li>
  <li>Local notifications: Local notifications can be scheduled every n minutes, but it's not possible to execute some code to get the current location (without the user having to launch the app via the notification).  This approach also doesn't seem to be a clean approach as this is not what notifications should be used for.</li>
  <li><code>UIApplication:beginBackgroundTaskWithExpirationHandler</code>:  As far as I understand, this should be used to finish some work in the background (also limited in time) when an app is moved to the background rather than implementing "long-running" background processes.</li>
  </ul>
  
  <p>How can I implement these regular background location updates?</p>