I need to know when the user approaches a certain location.
On the iPhone 4 I'm using startMonitoringForRegion:desiredAccuracy:
but this is not supported on the 3GS (which I want to support), so in this case I'm forced to use startMonitoringSignificantLocationChanges
.
The thing is, startMonitoringSignificantLocationChanges
causes the delegate to be called (and the app to be launched into the background if it is not) for every significant location change, even if it is totally unrelated to my needs.
It is easy for me to detect whether the delegate call is relevant for me, but I'm wondering about another thing: If I am launched into the background and then I detect that the call is not relevant, should I stay quietly in the background, or should I abort the app somehow and remove myself from the background until next time?