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];
}