Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/objective-c/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Ios 如何编辑CLLocationManager已监视的区域_Ios_Objective C_Geofencing_Region Monitoring_Clcircularregion - Fatal编程技术网

Ios 如何编辑CLLocationManager已监视的区域

Ios 如何编辑CLLocationManager已监视的区域,ios,objective-c,geofencing,region-monitoring,clcircularregion,Ios,Objective C,Geofencing,Region Monitoring,Clcircularregion,是否有任何方法可以编辑CLLocationManager对象的属性返回的NSSet中的CLCircularRegion 我想做一些类似的事情: NSSet *monitoredRegionsSet = self.locationManager.monitoredRegions; for (CLCircularRegion *region in monitoredRegionsSet) { //Change radius of every region in monitoredRegion

是否有任何方法可以编辑
CLLocationManager
对象的属性返回的NSSet中的
CLCircularRegion

我想做一些类似的事情:

NSSet *monitoredRegionsSet = self.locationManager.monitoredRegions;
for (CLCircularRegion *region in monitoredRegionsSet)
{
    //Change radius of every region in monitoredRegionsSet
}

您必须停止监视现有区域并监视修改后的区域意味着我必须创建一个新区域,对吗?dat表示我无法编辑现有区域?没错。您可以轻松地使用现有区域的详细信息创建新区域(需要进行任何修改),停止监视旧区域并开始监视新区域