<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreLocation",
  "identifier" : "/documentation/CoreLocation/CLVisit",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core Location"
    ],
    "preciseIdentifier" : "c:objc(cs)CLVisit"
  },
  "title" : "CLVisit"
}
-->

# CLVisit

Information about the user’s location during a specific period of time.

```
class CLVisit
```

## Overview

A [`CLVisit`](/documentation/CoreLocation/CLVisit) object encapsulates information about places that the user has been. Visit objects are created by the system and delivered by the [`CLLocationManager`](/documentation/CoreLocation/CLLocationManager) object to its delegate after you start the delivery of events. The visit includes the location where the visit occurred and information about the arrival and departure times as relevant. You do not create visit objects directly, nor should you subclass [`CLVisit`](/documentation/CoreLocation/CLVisit).

Visit objects contain as much information about the visit as possible but may not always include both the arrival and departure times. For example, when the user arrives at a location, the system may send an event with only an arrival time. When the user departs a location, the event can contain both the arrival time (if your app was monitoring visits prior to the user’s arrival) and the departure time.

## Topics

### Getting the location

[`coordinate`](/documentation/CoreLocation/CLVisit/coordinate)

The geographical coordinate information.

[`horizontalAccuracy`](/documentation/CoreLocation/CLVisit/horizontalAccuracy)

The horizontal accuracy (in meters) of the specified coordinate.

### Getting the visit duration

[`arrivalDate`](/documentation/CoreLocation/CLVisit/arrivalDate)

The approximate time at which the user arrived at the specified location.

[`departureDate`](/documentation/CoreLocation/CLVisit/departureDate)

The approximate time at which the user left the specified location.

## Relationships

### Conforms To

[`NSCopying`](/documentation/Foundation/NSCopying)

[`Hashable`](/documentation/Swift/Hashable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

[`Equatable`](/documentation/Swift/Equatable)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSCoding`](/documentation/Foundation/NSCoding)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)