---
title: NSLocationAlwaysAndWhenInUseUsageDescription
framework: bundleresources
role: symbol
role_heading: Property List Key
path: bundleresources/information-property-list/nslocationalwaysandwheninuseusagedescription
---

# NSLocationAlwaysAndWhenInUseUsageDescription

A message that tells people why the app is requesting access to their location information at all times.

## Discussion

Discussion Use this key if your iOS app accesses location information while running in the background. If your app only needs location information when in the foreground, use NSLocationWhenInUseUsageDescription instead. For more information, see Choosing the  Location Services Authorization to Request. If you need location information in a macOS app, use NSLocationUsageDescription instead. If your iOS app deploys to versions earlier than iOS 11, see NSLocationAlwaysUsageDescription. important: This key is required if your iOS app uses APIs that access the user’s location information at all times.

## See Also

### Location

- [Choosing the  Location Services Authorization to Request](bundleresources/choosing-the-location-services-authorization-to-request.md)
- [NSLocationUsageDescription](bundleresources/information-property-list/nslocationusagedescription.md)
- [NSLocationWhenInUseUsageDescription](bundleresources/information-property-list/nslocationwheninuseusagedescription.md)
- [NSLocationTemporaryUsageDescriptionDictionary](bundleresources/information-property-list/nslocationtemporaryusagedescriptiondictionary.md)
- [NSLocationAlwaysUsageDescription](bundleresources/information-property-list/nslocationalwaysusagedescription.md)
- [NSWidgetWantsLocation](bundleresources/information-property-list/nswidgetwantslocation.md)
- [NSLocationDefaultAccuracyReduced](bundleresources/information-property-list/nslocationdefaultaccuracyreduced.md)
