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

# NSWidgetWantsLocation

A Boolean value that indicates a widget uses the user’s location information.

## Discussion

Discussion To access the user’s location information from a widget, set the value to true in the widget extension’s Info.plist file. Before a widget can access location information, the containing app must request authorization from the user. The containing app’s Info.plist file must also contain relevant purpose strings. For more information, see Requesting authorization to use location services.

## See Also

### Location

- [Choosing the  Location Services Authorization to Request](bundleresources/choosing-the-location-services-authorization-to-request.md)
- [NSLocationAlwaysAndWhenInUseUsageDescription](bundleresources/information-property-list/nslocationalwaysandwheninuseusagedescription.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)
- [NSLocationDefaultAccuracyReduced](bundleresources/information-property-list/nslocationdefaultaccuracyreduced.md)
