1

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:

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.

Community
  • 1
  • 1
Gustavo Barbosa
  • 1,340
  • 1
  • 17
  • 27
  • I don't believe you have any way of knowing for sure. Accuracy is your best clue – Paulw11 Mar 21 '15 at 22:09
  • But is 30 meters a fair number? Do you know where does it come from? – Gustavo Barbosa Mar 21 '15 at 23:21
  • I don't think you can ever know that you aren't using GPS, but you can make a pretty good guess that you *are*. If your accuracy is 10m then you are using GPS. If it is 30 you may be using WiFi or GPS. I assume the figure of 30 comes from the typical distance over which a WiFi signal can be "seen" – Paulw11 Mar 22 '15 at 01:38
  • Great explanation, Paul. Thank you very much. I think you can add an answer for this question and then I accept it. – Gustavo Barbosa Mar 22 '15 at 18:48

0 Answers0