0

i have tried this code

- (void)locationManager:(CLLocationManager *)manager didEnterRegion:(CLRegion *)region {
    NSLog(@"Entered Region12222 - %@", region.identifier);
    [self showRegionAlert:@"Entering Region" forRegion:region.identifier];
}

- (void)locationManager:(CLLocationManager *)manager didExitRegion:(CLRegion *)region {
    NSLog(@"Exited Region - %@", region.identifier);
    [self showRegionAlert:@"Exiting Region" forRegion:region.identifier];
}
karthikeyan
  • 3,821
  • 3
  • 22
  • 45
  • Please improve your question so that others can help you (read more about [how to ask a good question](http://stackoverflow.com/help/how-to-ask)). Specifically, show how you monitor a region and initialise the location manager. – Gad Sep 18 '14 at 06:39
  • is this happened only for 5s???.check this once http://stackoverflow.com/questions/4152361/startmonitoringforregion-never-calls-didenterregion-didexitregion – Suhail kalathil Sep 18 '14 at 07:35
  • Geofencing didEnterRegion,didExitRegion function not Calling location purpose in iphone 5S 7.1 – user1838061 Sep 19 '14 at 08:54
  • didenter region exitregion not fire in ios 7.1 in device iphone 5s location based – user1838061 Sep 19 '14 at 08:56

0 Answers0