I am testing cloud monitoring on the Simulator. Both [CLLocationManager regionMonitoringAvailable] and [CLLocationManager regionMonitoringEnabled] return YES. I added App registers to update location in plist. I have a global location manager in AppDelegate and startUpdatingLocation works great both in the foreground and on the backgrund.
Then i have
CLLocationCoordinate2D p = CLLocationCoordinate2DMake(45.488, 9.16); CLRegion *region=[[CLRegion alloc] initCircularRegionWithCenter:p radius:100.0 identifier:@"emanuele"]; CLLocationAccuracy acc=200.0; [locationManager startMonitoringForRegion:region desiredAccuracy:acc];
But when testing on a simulator, I cannot get either didEnterRegion or monitoringDidFailForRegion. Am I doing something wrong or is something missing?
Thank you very much in advance.
source share