iOS CoreLocation: Is it possible to know if the location data is coming from GPS or from Wifi?

风流意气都作罢 提交于 2019-12-02 10:12:17

问题


I was wondering if we can get the source type of the current location in iOS. I didn't find any reference nor in CLLocationManager neither in CLLocation.

I've found the same question here in SO, but for Android:

  • Is it possible to know my location came from gps or glonass?
  • Android. How to know if location detected is from GPS or Network provider

The second one has an answer that says if the accuracy is smaller than 30 meters, than it is using GPS. But I don't know if we really can assume that.

来源:https://stackoverflow.com/questions/29188387/ios-corelocation-is-it-possible-to-know-if-the-location-data-is-coming-from-gps

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!