I have a created a small app which uses location services on the iPhone. All works well, except the fact, that sometimes, the small arrow in the info-bar stays active even if I explicitly kill the app.
I use the background mode for locationservices, thus the appDelegate methods applicationWillResignActive
, applicationDidEnterBackground
, applicationWillEnterForeground
and applicationDidBecomeActive
are implemented but do not touch the location services (well - I need them in background mode).
In that configuration applicationWillTerminate
is never called; I implemented all the cleanup cleanup as stopUpdatingLocation
in dealloc
, as I did not find any other place appropriate for this. But still - the indicator stays on.
Any ideas?