iOSPawan
iOSPawan

Reputation: 2894

Finding GPS signal strength

Is there any way to get an iPhone's GPS signal strength? I'd like to make some kind of display like this:

Upvotes: 9

Views: 8565

Answers (2)

AlexWien
AlexWien

Reputation: 28727

You should concentrate mainly on the CLLocation attribute horizontalAccuracy. This value represents the estimated accuracy related to the current latitude, longitude coordinate. verticalAccuracy represents the accuracy in altitude / height. Generally, GPS devices are not well suitable for accurate height measurement, so concentrate on the horizontal attributes.

Upvotes: 2

Jonah
Jonah

Reputation: 17958

No public API exists for checking GPS signal strength but it doesn't sound like that is what you are really looking for anyway. You absolutely can check the accuracy of the locations returned by CoreLocation.

Look at CLLocation, it has horizontalAccuracy and verticalAccuracy properties which indicate how accurate the device believes that location fix to be.

Upvotes: 18

Related Questions