Type Method

isMonitoringAvailableForClass:

Returns a Boolean value indicating whether the device supports region monitoring using the specified class.

Declaration

+ (BOOL)isMonitoringAvailableForClass:(Class)regionClass;

Parameters

regionClass

A region monitoring class from the Map Kit framework. This class must be descend from the CLRegion class.

Return Value

YES if the device is capable of monitoring regions using the specified class or NO if it is not.

Discussion

The availability of region monitoring support is dependent on the hardware present on the device. This method does not take into account the availability of location services or the fact that the user might have disabled them for the app or system; you must determine your app’s authorization status separately.

See Also

Determining the Availability of Services

+ authorizationStatus

Returns the app’s authorization status for using location services.

+ locationServicesEnabled

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

+ deferredLocationUpdatesAvailable

Returns a Boolean value indicating whether the device supports deferred location updates.

Deprecated
+ significantLocationChangeMonitoringAvailable

Returns a Boolean value indicating whether the significant-change location service is available.

+ headingAvailable

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

+ isRangingAvailable

Returns a Boolean value indicating whether the device supports ranging of Bluetooth beacons.

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