---
title: "locationManager(_:didVisit:)"
framework: corelocation
role: symbol
role_heading: Instance Method
path: "corelocation/cllocationmanagerdelegate/locationmanager(_:didvisit:)"
---

# locationManager(_:didVisit:)

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

## Declaration

```swift
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

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