Post

Replies

Boosts

Views

Activity

KVO on CLLocationManager.location?
In our existing code, we have a couple of CLLocationManager instances that update location at different frequencies. In one part of our code, rather than grab the location from those handed back in the delegate callback, we grab it via CLLocationManager.location. We've noticed that this location manager's location gets updated out-of-band by updates to other instances. A couple of questions: Is this expected behavior? I couldn't find any documentation on this one way or the other. Do all instances of CLLocationManager share updates to the last-known location? Is there a way to KVO updates to that property? It doesn't seem to be KVO-compliant in my testing.
1
0
664
Sep ’21