Instance Property

maximumRegionMonitoringDistance

The largest boundary distance that can be assigned to a region.

Declaration

var maximumRegionMonitoringDistance: CLLocationDistance { get }

Discussion

This property defines the largest boundary distance allowed from a region’s center point. Attempting to monitor a region with a distance larger than this value causes the location manager to send a CLError.Code.regionMonitoringFailure error to the delegate.

If region monitoring is unavailable or not supported, the value in this property is -1.

See Also

Initiating Region Monitoring

func startMonitoring(for: CLRegion)

Starts monitoring the specified region.

func stopMonitoring(for: CLRegion)

Stops monitoring the specified region.

var monitoredRegions: Set<CLRegion>

The set of shared regions monitored by all location manager objects.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software