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 MapKit framework. This class must 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

+ significantLocationChangeMonitoringAvailable

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

+ 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 beacons that use the iBeacon protocol.

+ locationServicesEnabled

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