<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "tvOS: 15.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 8.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreLocation",
  "identifier" : "/documentation/CoreLocation/CLLocationSourceInformation",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Core Location"
    ],
    "preciseIdentifier" : "c:objc(cs)CLLocationSourceInformation"
  },
  "title" : "CLLocationSourceInformation"
}
-->

# CLLocationSourceInformation

Information about the source that provides a location.

```
class CLLocationSourceInformation
```

## Overview

[`CLLocationSourceInformation`](/documentation/CoreLocation/CLLocationSourceInformation) contains information about the source that provides a [`CLLocation`](/documentation/CoreLocation/CLLocation) instance, such as instances that [`locationManager(_:didUpdateLocations:)`](/documentation/CoreLocation/CLLocationManagerDelegate/locationManager(_:didUpdateLocations:)) delivers. For example, an app may choose to check the source information and reject locations if the [`isSimulatedBySoftware`](/documentation/CoreLocation/CLLocationSourceInformation/isSimulatedBySoftware) property is `true` when the developer isn’t debugging or testing the app.

## Topics

### Creating a location source information object

[`init(softwareSimulationState:andExternalAccessoryState:)`](/documentation/CoreLocation/CLLocationSourceInformation/init(softwareSimulationState:andExternalAccessoryState:))

Creates an instance of location source information.

### Identifying the source of location data

[`isProducedByAccessory`](/documentation/CoreLocation/CLLocationSourceInformation/isProducedByAccessory)

A Boolean value that indicates whether the system receives the location from an external accessory.

[`isSimulatedBySoftware`](/documentation/CoreLocation/CLLocationSourceInformation/isSimulatedBySoftware)

A Boolean value that indicates whether the system generates the location using on-device software simulation.



---

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)