Starts the delivery of visit-related events.
- iOS 8.0+
- Mac Catalyst 13.0+Beta
- Core Location
Calling this method begins the delivery of visit-related events to your app. Enabling visit events for one location manager enables visit events for all other location manager objects in your app. When a new visit event arrives, the location manager object delivers the event to the
location method of its delegate.
If your app is terminated while this service is active, the system relaunches your app when new visit events are ready to be delivered. Upon relaunch, recreate your location manager object and assign a delegate to begin receiving visit events. You do not need to call this method again to restart the delivery of visit events but calling it does no harm.