title: Location Manager update frequency, iphone
body: <p>I have a CLLocation manager called "myLocation".</p>
  
  <pre><code>myLocation = [[CLLocationManager alloc] init];
      myLocation.desiredAccuracy = kCLLocationAccuracyBestForNavigation ;
      myLocation.distanceFilter = 10 ;
      myLocation.delegate=self;
  
  
  
      locationEnabledBool = [CLLocationManager locationServicesEnabled];
  
  
  
      if (locationEnabledBool ==NO || ( [CLLocationManager  authorizationStatus] == kCLAuthorizationStatusDenied)) {
  
      //  LocationText.text = @"Location Service Disabled ";
          UIAlertView *locationAlert = [[UIAlertView alloc] initWithTitle:@"Location Service Disabled" 
                                                          message:@"To re-enable, please go to Settings and turn on Location Service for this app." 
                                                         delegate:nil 
                                                cancelButtonTitle:@"OK" 
                                                otherButtonTitles:nil];
          [locationAlert show];
          [locationAlert release];
  
      }
  
          [myLocation startUpdatingLocation];
  </code></pre>
  
  <p>and location update function is</p>
  
  <pre><code>- (void)locationManager:(CLLocationManager *)manager
      didUpdateToLocation:(CLLocation *)newLocation
             fromLocation:(CLLocation *)oldLocation
  {
  
  NSLog(@"old location is %f, %f ", oldLocation.coordinate.latitude, oldLocation.coordinate.longitude);
  NSLog(@"new location is %f,%f",newLocation.coordinate.latitude, newLocation.coordinate.longitude );
  }
  </code></pre>
  
  <p>Is there a way to find frequency of location manager update, and If it can be increased or decreased?  </p>