PDA

View Full Version : How to get an altitude reading?




beachdog10
Aug 17, 2010, 07:30 PM
Is it possible somehow through the iPhone API to determine how many feet (/meters) above sea level the device's current location is?



grimjim
Aug 18, 2010, 03:13 AM
Yep. (http://developer.apple.com/iphone/library/documentation/CoreLocation/Reference/CLLocation_Class/CLLocation/CLLocation.html#//apple_ref/occ/instp/CLLocation/altitude)