Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

_stopUpdatingLocation question #9

Open
chen0404 opened this issue May 8, 2014 · 0 comments
Open

_stopUpdatingLocation question #9

chen0404 opened this issue May 8, 2014 · 0 comments

Comments

@chen0404
Copy link

chen0404 commented May 8, 2014

Hi Dean,
i have a question about _stopUpdatingLocation, why[ if (!_updateInBackground)] instead of[ if (_updateInBackground)]?
If app be put in the background, it could be in the background mode, suspend mode, even not running mode terminated by user.
In that case if (!_updateInBackground) , locationManager is startUpdatingLocation not startMonitoringSignificantLocationChanges, OS could not updated location when app is not running or in the background
Or OS still update location when locationManager is startUpdatingLocation?

thank you for your replay

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant