So I have this problem – I have a super simple app that all it does it to track your location with an On/Off button on the UI. I am testing on both iPhone 3GS (version 4.3) and iPhone 4 (version 5.0 beta), and suddenly on the 3GS, when I click on Off, it doesnt stop – I still see the location symbol on the status bar.
Previously, it worked fine on the 3GS – I could start, stop, send to background, launch again. etc. and my OFF button worked perfectly – whenever I stopped location, the location indicator disappeared. The SAME code runs on my iPhone4 and no issues.
My question is – is there a way to “clean” a test iphone? Wondering maybe there are some “cookies” kinda of stuff left that I should be cleaning so it will work again…otherwise, I am clueless…
thank!
LocationServices will continue to get updates even when the App is in the background on OS 4+, unless you stop updates when the application goes into the background. See the various -stop… methods on CLLocationManager. I can’t be of much more help without a bit of the code you’re using to start monitoring location, since there are so many different options for location monitoring.