stopMonitoring(for:)
Stops monitoring the specified region.
Declaration
func stopMonitoring(for region: CLRegion)Parameters
- region:
The region object currently being monitored. This parameter must not be
nil.
Discussion
If the specified region object is not currently being monitored, this method has no effect. If a compatible iPad or iPhone app calls this method when running in visionOS, the method does nothing.
See Also
Methods
startMonitoring(for:)regionMonitoringAvailable()regionMonitoringEnabled()authorizationStatus()startMonitoring(for:desiredAccuracy:)requestState(for:)startRangingBeacons(in:)stopRangingBeacons(in:)deferredLocationUpdatesAvailable()allowDeferredLocationUpdates(untilTraveled:timeout:)disallowDeferredLocationUpdates()