View Single Post
Old 11-07-12 | 08:27 AM
  #11  
Rob_E's Avatar
Rob_E
Senior Member
 
Joined: Jan 2008
Posts: 2,709
Likes: 22
From: Raleigh, NC

Bikes: Downtube 8H, Surly Troll

Originally Posted by sstorkel
chrisch: you may want to consider using the new "geofencing" APIs on CLLocationManager. Specifically: startMonitoringForRegion:desiredAccuracy: or startMonitoringForRegion:. The idea would be to setup a geofence around the user's current location with a radius of, say, 5 miles. When the user goes outside that radius your app delegate gets a notification (via locationManager:didExitRegion:) and you could then record their new position and setup a new geofence around their present position.
Wouldn't that be just as battery intensive? In order for the phone react to a change in location, it has to constantly monitor your location. I seem to remember battery longevity issues reported with people using geofencing on Apple's reminders app, but maybe I'm remembering that wrong.
Rob_E is offline  
Reply