NSWidgetWantsLocation
A Boolean value that indicates a widget uses the user’s location information.
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.