<!--
{
  "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/CLLocation/sourceInformation",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Core Location"
    ],
    "preciseIdentifier" : "c:objc(cs)CLLocation(py)sourceInformation"
  },
  "title" : "sourceInformation"
}
-->

# sourceInformation

Information about the source that provides the location.

```
var sourceInformation: CLLocationSourceInformation? { get }
```

## Discussion

This property enables developers to make better-informed decisions as to whether to treat certain locations differently, or reject potentially simulated locations that they generate during testing. An app may choose to check this property and reject locations if, for example, the [`isSimulatedBySoftware`](/documentation/CoreLocation/CLLocationSourceInformation/isSimulatedBySoftware) property is `true` when the developer isn’t debugging or testing the app.

Use the [`sourceInformation`](/documentation/CoreLocation/CLLocation/sourceInformation) property when knowing the true location of the device (within a tolerance for estimation error and horizontal/vertical accuracy) is critical.

---

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)