Help needed quick, I use this code to get GPS coordinates, it's not that neat but it worked on my device: http://pastie.org/1786359.
Now when installing the app on other devices it shows a endless stream of pop-ups saying the app is not authorized to use locationservices. It shows these pop-ups too fast to click on them. So users have to go to the device settings and enable the Location services for the app there. I hope someone has a definite answer, since I can't test this on my own devices anymore: after you enabled it for the app once you can turn it off again without getting these alerts.
It happens on iOS 4.3.1 4.3 4.2.1 haven't tested older versions.
on line 63 you check to see if the user is allowing access to the geolocation services, but you never exit the path if they say no.
line 157 sets up the listener so that is why I believe you are getting all of the alerts. The listener should not be setup unless the user confirms the use of the location services
Think you can help? Login to answer this question!