I am trying to use the distanceFromLocation: method to calculate the total distance that I am walking with my iPhone in my hand. So far, I have been searching all over to h
You are not setting the accuracy of your location manager. Go through apple docs, it is something like accuracy = bestfornavigation. or something. That should drain battery like hell but is meant for this kind of purposes.
edit: just remembered i had it at hand.
// Create the Location Manager
locationManager = [[CLLocationManager alloc] init];
// Configure the Location Manager
locationManager.delegate = self;
locationManager.desiredAccuracy = kCLLocationAccuracyBestForNavigation;