A message that tells the user why the app is requesting access to the user’s location information while the app is running in the foreground.
- iOS 11.0+
- Core Location
- Privacy - Location When In Use Usage Description
Use this key if your iOS app accesses location information only when running in the foreground. If your app needs location information when in the background, use
NSLocation instead. For more information, see Choosing the Location Services Authorization to Request.
If you need location information in a macOS app, use