The protocol whose methods you use to receive events from an associated location manager object.
- iOS 2.0+
- macOS 10.6+
- tvOS 9.0+
- watchOS 2.0+
Implement this protocol in an object of your app and assign your object to the
delegate property of a
CLLocationManager object. After activating one or more services, the location manager notifies your delegate object with the results. You can then use the results to update other parts of your app.If the location manager reports a problem retrieving the requested data, you might want to stop updates for a short period of time and try again later. You can use the
stopMonitoringVisits() methods of
CLLocationManager to stop the various location services.
The methods of your delegate object are called from the thread in which you started the corresponding location services. That thread must itself have an active run loop, like the one found in your application’s main thread.