<!--
{
  "availability" : [
    "iOS: 14.0.0 -",
    "iPadOS: 14.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ARKit",
  "identifier" : "/documentation/ARKit/ARError/locationUnauthorized",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "ARKit"
    ],
    "preciseIdentifier" : "s:SC11ARErrorCodeLeV20locationUnauthorizedSoAAVvpZ"
  },
  "title" : "locationUnauthorized"
}
-->

# locationUnauthorized

An error that indicates the app lacks user permission for the device’s current location.

```
static var locationUnauthorized: ARError.Code { get }
```

## Discussion

To resolve this issue, the app needs to ask the user to enable location access for this app in Settings.

---

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)