Reputation: 1601
Just a quick question, does CoreLocation/Mapkit measure altitude from sea level (elevation)?
I am using the following code
NSString *altitudeString = [NSString stringWithFormat: @"%.2f m", newLocation.altitude];
Thank You
Upvotes: 0
Views: 487
Reputation: 4918
Yes, you can check the altitude via the locationManager like this :
locationManager.location.altitude
you can also check the vertical accuracy with :
locationManager.location.verticalAccuracy
Upvotes: 2