I have a created a small app which uses location services on the iPhone. All works well, except the fact, that sometimes, the small arrow in the info-bar stays active even i
I met a similar problem. The problem only happens on iPhone4, but works perfect on my 3GS. After looking into my code, I found that in my startUpdatingLocation method I used startUpdatingLocation and startMonitoringForRegion services, however, in my stopUpdatingLocation method I just stop updatingLocation service. I fixed this issue by turning off MonitoringForRegion as well.
#pragma mark -
#pragma mark Location methods
- (void)startUpdatingLocation
{
[self.locationManager startUpdatingLocation];
[self.locationManager startMonitoringForRegion:desRegion desiredAccuracy:50.0f];
}
- (void)stopUpdatingLocation
{
[self.locationManager stopUpdatingLocation];
// !!!: fix location service indicator stuck issue
[self.locationManager stopMonitoringForRegion:desRegion];
}