How to stop location services when the app is in background?
Hi, In my app I load some sites in UIWebView. Some of these sites use location services.
My problem is, that while viewing one of these sites, when the app goes to background, the location services are still on. Since my app didn't turn them on - I don't know what to do.
The current solution I have is loading a blank page when going to background, then loading the original site back when moving to foreground. It works, but the blank page is visible to the user, when viewing the app - which isn't very good.
Does anyone have other ideas?
|