title: Altitude problem IOS
body: <p>I have a problem in getting the altitude , it returns 0.0000 . Here is my code:</p>
  
  <pre><code>- (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation {
  NSString *tAltitude  = [NSString stringWithFormat:@"%f", [newLocation altitude]];
  CLLocationCoordinate2D coord=newLocation.coordinate;
  MKCoordinateSpan span = {.latitudeDelta =  0.005, .longitudeDelta =  0.005};
  MKCoordinateRegion region = {coord, span};
  [map setRegion:region];
  NSLog(@"Location: %@", [newLocation description]);
  NSLog(@"altitudine:%@",tAltitude); }
  </code></pre>