Type Method

isMonitoringAvailable(for:)

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

Declaration

class func isMonitoringAvailable(for regionClass: AnyClass) -> Bool

Parameters

regionClass

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

Return Value

true if the device is capable of monitoring regions using the specified class or false 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

Related Symbols

class func authorizationStatus()

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