isMonitoringAvailable(for:)
Returns a Boolean value indicating whether the device supports region monitoring using the specified class.
Declaration
class func isMonitoringAvailable(for regionClass: AnyClass) -> BoolParameters
- regionClass:
A region monitoring class from the MapKit framework. This class must 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.