Instance Method


Tells the delegate that a region monitoring error occurred.


- (void)locationManager:(CLLocationManager *)manager monitoringDidFailForRegion:(CLRegion *)region withError:(NSError *)error;



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.

See Also

Responding to Region Events

- locationManager:didEnterRegion:

Tells the delegate that the user entered the specified region.

- locationManager:didExitRegion:

Tells the delegate that the user left the specified region.

- locationManager:didDetermineState:forRegion:

Tells the delegate about the state of the specified region.

- locationManager:didStartMonitoringForRegion:

Tells the delegate that a new region is being monitored.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software