1

是否可以从 IOS MKMapKit 中的 MKUserLocation 获取高度?

具体来说,我试图在提供 MKUserLocation 对象的 MKMapViewDelegate 的回调“didUpdateUserLocation”中获取高度?

如果不是,我真的应该使用 CLLocationManager 和它的 startUpdatingLocation() 方法来捕获位置和高度变化并放弃使用 mapview 的 MKMapViewDelegate 的回调“didUpdateUserLocation”???

4

1 回答 1

1

错过了:

MKUserLocation.location.altitude 属性

于 2016-06-01T06:47:06.553 回答