I am tracking users location in my app, and I am stopping updates when I receive the first location update. The idea is to only get a "snapshot" of the users location once, not actually track the users movement.
However in iOS 5.1 on device and simulator, the location service icon at the top right of the screen doesn't disappear after the tracking started.
On iOS 5.0 (could only test in simulator), the icon appears and disappears as expected.
Does anyone know of any bugs that may affect CoreLocation in iOS 5.1 ?
I found someone else reporting something very similar, however he says if you force kill the app in multitasking bar, the icon is removed, mine persists, this is even when the app is not running at all.
Also (after killing the app), if I go into locations services in settings, my app is lit up purple and I can turn on or off, toggling the location icon at the top with no problem.
Check out this guy: http://bendodson.com/weblog/2012/03/14/ios-5-1-location-services-bug/
The traditional method:[locationManager stopUpdatingLocation];
is not enough. You must also add:[locationManager stopMonitoringSignificantLocationChanges];
This is a duplicate of this question.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With