A message that tells the user why the app is requesting access to the user's location at all times.
- iOS 8.0–10.0Deprecated
- Core Location
- Privacy - Location Always Usage Description
Use this key if your iOS app accesses location information in the background, and you deploy to a target earlier than iOS 11. In that case, add both this key and
NSLocation to your app’s
Info file with the same message. Apps running on older versions of the OS use the message associated with
NSLocation, while apps running on later versions use the one associated with
If your app only needs location information when in the foreground, use
NSLocation instead. For more information, see Choosing the Location Services Authorization to Request.
If you need location information in a macOS app, use