2

Is there any way to edit a CLCircularRegion in the NSSet returned by monitoredRegions property of CLLocationManager object?

I want to do something like:

NSSet *monitoredRegionsSet = self.locationManager.monitoredRegions;
for (CLCircularRegion *region in monitoredRegionsSet)
{
    //Change radius of every region in monitoredRegionsSet
}
halfer
  • 19,824
  • 17
  • 99
  • 186
PGDev
  • 23,751
  • 6
  • 34
  • 88
  • You will have to stop monitoring the existing region and monitor the modified region – Paulw11 Feb 19 '16 at 07:39
  • means i have to create a new region right? dat means i cannot edit the existing region? – PGDev Feb 19 '16 at 08:02
  • That's right. You can easily make a new region using the details of the existing region (with whatever modifications are required), stop monitoring the old region and start monitoring the new one – Paulw11 Feb 19 '16 at 08:03

0 Answers0