I am using CLLocationManager to continuously scan location updates. I am setting desiredAccuracy which I understand is a best case- the question is, is there a way to know what the current accuracy is?
Asked
Active
Viewed 174 times
0
-
1Not sure if it answers your question, but there is `horizontalAccuracy` and `verticalAccuracy` on `CLLocation`. – Alfonso Jul 11 '14 at 13:57
-
Ahhhh, how did I miss those? Curious why horizontal and vertical accuracies are distinct values though, considering you can only set a single desiredAccuracy filter. – Keller Jul 11 '14 at 14:01
-
1NM, found this post useful: http://stackoverflow.com/questions/7402503/what-do-horizontalaccuracy-and-verticalaccuracy-of-a-cllocation-refer-to. I (incorrectly) assumed vertical/horizontal referred to lat/long. verticalAccuracy apparently refers to altitudinal accuracy. – Keller Jul 11 '14 at 14:05
-
@Fönsi if you submit your comment in the form of an answer I will gladly accept it. – Keller Jul 11 '14 at 14:07
1 Answers
1
When you get a location from the CLLocationManager
you can read the effective accuracy using horizontalAccuracy
and verticalAccuracy
on CLLocation
.

Alfonso
- 8,386
- 1
- 43
- 63