This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(void) applicationDidEnterBackground:(UIApplication *) application | |
{ | |
// You will also want to check if the user would like background location | |
// tracking and check that you are on a device that supports this feature. | |
// Also you will want to see if location services are enabled at all. | |
// All this code is stripped back to the bare bones to show the structure | |
// of what is needed. | |
[locationManager startMonitoringSignificantLocationChanges]; |