title: Clear iPhone GPS coordinate cache to test poor GPS conditions?
body: <p>Once an iOS device has acquired a GPS fix, it will cache that coordinate for quite some time, and return that coordinate immediately as soon as you send CLLocationManager a startUpdatingLocation message.</p>
  
  <p>This makes it impossible to test the behavior of GPS-related code under a poor GPS condition in an even remotely reproducible fashion. Particularly, the scenario where a phone cannot acquire a fix and never calls locationManager:didUpdateToLocation:fromLocation: simply can't be tested.</p>
  
  <p>Powering down the device does not clear the GPS cache.</p>
  
  <p>How can I clear the GPS cache, and thus reproducibly test how my app behaves under a poor GPS scenario for real users in real situations?</p>