Type Method

regionMonitoringAvailable

Returns a Boolean value indicating whether region monitoring is supported on the current device.

Declaration

+ (BOOL)regionMonitoringAvailable;

Return Value

YES if region monitoring is available; NO if it is not.

Discussion

Support for region monitoring may not be available on all devices and models. You should check the value of this property before attempting to set up any regions or initiate region monitoring.

Even if region monitoring support is present on a device, it may still be unavailable because the user disabled it for the current app or for all apps.

Special Considerations

This class is deprecated in iOS 7 and later but is still supported in macOS.

See Also

Deprecated

locationServicesEnabled

A Boolean value indicating whether location services are enabled on the device.

Deprecated
headingAvailable

A Boolean value indicating whether the location manager is able to generate heading-related events.

Deprecated
purpose

An app-provided string that describes the reason for using location services.

+ regionMonitoringEnabled

Returns a Boolean value indicating whether region monitoring is currently enabled.

Deprecated
- startMonitoringForRegion:desiredAccuracy:

Starts monitoring the specified region for boundary crossings.

Deprecated