title: didUpdateToLocation called multiple
body: <p>i have an iOS application witch uses the current location of the user. I am doing like this :</p>
  
  <pre><code>-(void)startGeoloc{
  
      NSLog(@"start geoloc");
  
      locationManager = [[CLLocationManager alloc] init];
      locationManager.delegate = self;
      locationManager.desiredAccuracy=kCLLocationAccuracyHundredMeters;
      [locationManager startUpdatingLocation];
  }
  
  #pragma mark - CLLocationManagerDelegate methods
  - (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation
  {
      [locationManager stopUpdatingLocation];
      AppDelegate *apDelegate =(AppDelegate *)[UIApplication sharedApplication].delegate;
      apDelegate.modeGeoloc = YES;
      [self callWebService:locationManager.location];
  
  }
  </code></pre>
  
  <p>The problem of this, is that my method <code>callWebService:locationManager.location</code> is called twice  and i would like to call it just one time. how i can i do this ? thanks for your answers</p>