Instance Method

locationManager(_:didVisit:)

Tells the delegate that a new visit-related event was received.

Declaration

optional func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit)

Parameters

manager

The location manager object reporting the event.

visit

The visit object that contains the information about the event.

Discussion

The location manager calls this method whenever it has new visit event to report to your app.