Update Location in Mapview Xcode
问题 In my current project. I need user's location at every 50 meter user move. So Basically After open application every 50 meter change I need user location for call web service in Objective c . Also i want same process run when application is in background state. Thanks in advance 回答1: set your location track in //create location manager object locationManager = [[CLLocationManager alloc] init]; //there will be a warning from this line of code [locationManager setDelegate:self]; //and we want