title: geocoding address into coordinates in iphone
body: <p>I am trying to geocode address into coordinates using following code:</p>
  
  <pre><code>CLGeocoder *geocoder = [[CLGeocoder alloc] init];
      [geocoder geocodeAddressString:@"6138 Bollinger Road, San Jose, United States" completionHandler:^(NSArray* placemarks, NSError* error){
                       for (CLPlacemark* aPlacemark in placemarks)
                       {
                           // Process the placemark.
                           NSString *latDest1 = [NSString stringWithFormat:@"%.4f",aPlacemark.location.coordinate.latitude];
                           NSString *lngDest1 = [NSString stringWithFormat:@"%.4f",aPlacemark.location.coordinate.longitude];
                           lblDestinationLat.text = latDest1;
                           lblDestinationLng.text = lngDest1;
                       }
                   }];
  </code></pre>
  
  <p>I have tried it many times but the debugger never enters the block and I am not able to get the location. Can someone please help me with it?</p>
  
  <p>Regards<br>
  Pankaj</p>