regionMonitoringAvailable()
Returns a Boolean value indicating whether region monitoring is supported on the current device.
Declaration
class func regionMonitoringAvailable() -> BoolReturn Value
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
Methods
startMonitoring(for:)stopMonitoring(for:)regionMonitoringEnabled()authorizationStatus()startMonitoring(for:desiredAccuracy:)requestState(for:)startRangingBeacons(in:)stopRangingBeacons(in:)deferredLocationUpdatesAvailable()allowDeferredLocationUpdates(untilTraveled:timeout:)disallowDeferredLocationUpdates()