How to properly set the Radius of CLRegion?
问题 This is my code for creating a geofence: Geofence *geofence = [[Geofence alloc] init]; [geofence setRadius:100.0]; [geofence setIdentifier: @"Fence1"]; [geofence setLocation:currentlocation]; CLRegion *region1 = [[CLCircularRegion alloc] initWithCenter:[geofence.location coordinate] radius:geofence.radius identifier:geofence.identifier]; region1.notifyOnEntry=YES; region1.notifyOnExit=YES; [self.locationManager startMonitoringForRegion:region1]; I could say that, the above code works, meaning