How to get the number of satellites in iOS?

I canโ€™t find out how to get the satellite counter that got the device using CoreLocation. In my Android application, I have such information, and I would like to have it in my iOS application. Any ideas?

+4
source share
2 answers

This is not possible with any public iOS API.

Check the CLLocation documentation class for a list of attributes that you can request, for example horizontalAccuracy and verticalAccuracy may be helpful.

+4
source

Andy is right. The only thing I would add is that you can assume that there are at least 4 satellites if verticalAccuracy> 0. You probably have 5 or more if horizontalAccuracy is in the range of 0-60 m. You probably have only 3 if the horizontal accuracy is 60-300 m and the vertical is 0. And finally, you probably have <3 satellites, if the horizontal accuracy is> 300 m and the vertical <0. This is roughly what is required for different levels of accuracy . I donโ€™t think the CL will report 500 meters at Wi-Fi or Cell points.

+2
source

Source: https://habr.com/ru/post/1444859/


All Articles