iOS CLLocation Distance Filter using

30% OFF - 9th Anniversary discount on Entity Framework Extensions until December 15 with code: ZZZANNIVERSARY9


Example :

   CLLocationManager *locationManager = [[CLLocationManager alloc] init];
   locationManager.delegate = self;
   locationManager.desiredAccuracy = kCLLocationAccuracyBest;
   locationManager.distanceFilter = 5;

E.g. In the above example code above, location changes of less than 5 metres won’t be sent to the callback, but instead be ignored.

Got any iOS Question?