Tells the delegate that a region monitoring error occurred.
- iOS 4.0+
- macOS 10.8+
- Mac Catalyst 13.0+
- Core Location
The location manager object reporting the event.
The region for which the error occurred.
An error object containing the error code that indicates why region monitoring failed.
If an error occurs while trying to monitor a given region, the location manager sends this message to its delegate. Region monitoring might fail because the region itself cannot be monitored or because there was a more general failure in configuring the region monitoring service.
Although implementation of this method is optional, it is recommended that you implement it if you use region monitoring in your application.