# locationUsageDescription

> Describes the reason for access to the user's location data.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

> **Warning:**
>
> **Deprecated.** Use PlayerSettings.iOS.locationUsageDescription instead
>
> **Upgrade to** [PlayerSettings.iOS.locationUsageDescription](/engine/6000.0/script-reference/unityeditor/playersettings/ios/locationusagedescription.md)

```csharp
public static string locationUsageDescription { get; set; }
```

### Remarks

When the OS prompts the user to allow access to the location data, this text is displayed as part of the dialog box.
