Check user location age in Mapkit - GPS accuracy for MapKit User Location significantly better than from CLLocationManager?

后端 未结 1 1827
后悔当初
后悔当初 2021-01-16 00:07

Indoors on an iPhone 4. WiFi disabled

Running the LocateMe SDK sample or my own code for 30-60 seconds produces horizontal accuracy of 2294 meters. Pretty inaccurate

1条回答
  •  野的像风
    2021-01-16 01:02

    You can access the timestamp of the user's location used by a MKMapView as follows:

    [[[mapView userLocation] location] timestamp];
    

    The timestamp is an NSDate and it tells you when this location was determined.

    0 讨论(0)
提交回复
热议问题