When permission for location services has been granted, an instance of
CLLocationManager can be used to find the current location. In the sample app,
ICFLocationManager provides a central class to manage location functionality, so it manages an instance of
CLLocationManager for the app. In the
init method of
CLLocationManager is created and customized for the desired location-searching approach.
[self setLocationManager:[[CLLocationManager alloc] init]];[self.locationManagersetDesiredAccuracy:kCLLocationAccuracyBest];[self.locationManager setDistanceFilter:100.0f];[self.locationManager setDelegate:self];
CLLocationManager has several parameters that can be set to ...